summaryrefslogtreecommitdiff
path: root/DevTools
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-03 17:06:24 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-03 17:06:24 +0200
commitc255cedd7aca8bb839bc291215ac78201d11c928 (patch)
tree8a10f744f3c1ae114323ccd0b0a96a22306576f6 /DevTools
parent925c8f42f873581363a72a18f8c0502ace05b3d1 (diff)
downloadserenity-c255cedd7aca8bb839bc291215ac78201d11c928.zip
IPCCompiler: Make decode_message() return nullptr for unknown messages
Diffstat (limited to 'DevTools')
-rw-r--r--DevTools/IPCCompiler/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/DevTools/IPCCompiler/main.cpp b/DevTools/IPCCompiler/main.cpp
index f5b6931975..04cf175b62 100644
--- a/DevTools/IPCCompiler/main.cpp
+++ b/DevTools/IPCCompiler/main.cpp
@@ -318,6 +318,8 @@ int main(int argc, char** argv)
if (message.is_synchronous)
do_decode_message(message.response_name());
}
+ dbg() << " default:";
+ dbg() << " return nullptr;";
dbg() << " }";
dbg() << " }";