aboutsummaryrefslogtreecommitdiff
path: root/fesvr/rfb.cc
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-09-22 17:30:09 -0700
committerAndrew Waterman <andrew@sifive.com>2022-10-04 15:40:01 -0700
commit36009d07e8545dd43349c309f052fbb9b2ccce8c (patch)
treecfe2afd0807f54067a9c486d116f5b1b3f8602c2 /fesvr/rfb.cc
parentf8752d8feea04303d5f3bdeabce8864b3b2430ed (diff)
downloadspike-36009d07e8545dd43349c309f052fbb9b2ccce8c.zip
spike-36009d07e8545dd43349c309f052fbb9b2ccce8c.tar.gz
spike-36009d07e8545dd43349c309f052fbb9b2ccce8c.tar.bz2
Delete unused parameter in rfb_t::fb_update
Diffstat (limited to 'fesvr/rfb.cc')
-rw-r--r--fesvr/rfb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fesvr/rfb.cc b/fesvr/rfb.cc
index 2594a1b..bd72fda 100644
--- a/fesvr/rfb.cc
+++ b/fesvr/rfb.cc
@@ -119,7 +119,7 @@ void rfb_t::set_pixel_format(const std::string& s)
throw std::runtime_error("bad pixel format");
}
-void rfb_t::fb_update(const std::string& s)
+void rfb_t::fb_update()
{
std::string u;
u += str(uint8_t(0));
@@ -153,7 +153,7 @@ void rfb_t::tick()
std::swap(fb1, fb2);
if (pthread_mutex_trylock(&lock) == 0)
{
- fb_update("");
+ fb_update();
pthread_mutex_unlock(&lock);
}
}