BPoseView::FSNotification(): fix issue in debug build

This commit is contained in:
Ingo Weinhold 2013-06-20 14:58:34 +02:00
parent 77ca66cdb7
commit ddd775f5ac

View File

@ -5174,13 +5174,12 @@ BPoseView::FSNotification(const BMessage* message)
}
const char* name;
if (message->FindString("name", &name) != B_OK)
break;
if (message->FindString("name", &name) != B_OK) {
#if DEBUG
else
SERIAL_PRINT(("no name in entry creation message\n"));
break;
#endif
break;
}
if (count) {
// basically, let's say we have a broken link :
// ./a_link -> ./some_folder/another_folder/a_target