add some returns so the compiler doesnt get confused
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/XAtom.cc
→
src/XAtom.cc
@@ -324,7 +324,7 @@ Atom t;
switch (type) { case ansi: t = _atoms[string]; break; case utf8: t = _atoms[utf8_string]; break; - default: assert(False); // unhandled StringType + default: assert(False); return; // unhandled StringType } std::string value;@@ -454,7 +454,7 @@ Atom t;
switch (type) { case ansi: t = _atoms[string]; break; case utf8: t = _atoms[utf8_string]; break; - default: assert(False); // unhandled StringType + default: assert(False); return // unhandled StringType } unsigned char *value;