summaryrefslogtreecommitdiff
path: root/src/uuid.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-06-10 12:36:27 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-06-10 12:36:27 +0200
commit74a3907be285891d90b82e2d315d03141a398752 (patch)
treed230cdc2f2dd30f4b462f8857aa41a69be7b25b0 /src/uuid.cpp
parent8782b4d696da7b1527f69e819d75d691bc3df105 (diff)
couple of ICC warnings fixed
Diffstat (limited to 'src/uuid.cpp')
-rw-r--r--src/uuid.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uuid.cpp b/src/uuid.cpp
index 406bbb4..f1dddf0 100644
--- a/src/uuid.cpp
+++ b/src/uuid.cpp
@@ -190,8 +190,10 @@ unsigned char zmq::uuid_t::convert_byte (const char *hexa_)
byte = *hexa_ - 'A' + 10;
else if (*hexa_ >= 'a' && *hexa_ <= 'f')
byte = *hexa_ - 'a' + 10;
- else
+ else {
zmq_assert (false);
+ byte = 0;
+ }
byte *= 16;