diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-08-03 17:06:24 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-03 17:06:24 +0200 |
commit | c255cedd7aca8bb839bc291215ac78201d11c928 (patch) | |
tree | 8a10f744f3c1ae114323ccd0b0a96a22306576f6 /DevTools | |
parent | 925c8f42f873581363a72a18f8c0502ace05b3d1 (diff) | |
download | serenity-c255cedd7aca8bb839bc291215ac78201d11c928.zip |
IPCCompiler: Make decode_message() return nullptr for unknown messages
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/IPCCompiler/main.cpp | 2 |
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() << " }"; |