Commit 7250bc66 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fix compiler warning in Random.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 4c631cb3
...@@ -42,6 +42,7 @@ uint64_from_buffer (unsigned char *buffer) ...@@ -42,6 +42,7 @@ uint64_from_buffer (unsigned char *buffer)
+ buffer[7]; + buffer[7];
} }
#if 0 /* debugging only */
static void static void
print (const string& label, const vector<unsigned char>& data) print (const string& label, const vector<unsigned char>& data)
{ {
...@@ -50,6 +51,7 @@ print (const string& label, const vector<unsigned char>& data) ...@@ -50,6 +51,7 @@ print (const string& label, const vector<unsigned char>& data)
printf ("%02x ", ch); printf ("%02x ", ch);
printf ("\n"); printf ("\n");
} }
#endif
Random::Random (uint64_t seed, Stream stream) Random::Random (uint64_t seed, Stream stream)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment