add some returns so the compiler doesnt get confused

This commit is contained in:
Dana Jansens 2002-07-10 17:46:21 +00:00
parent 235d9e4c40
commit 66119f751d

View file

@ -324,7 +324,7 @@ void XAtom::setValue(Window win, Atoms atom, StringType type,
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 @@ bool XAtom::getValue(Window win, Atoms atom, StringType type,
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;