Fix no-return-in-nonvoid-function

RPM post-build-checks found some issues and marks these as errors.

I: Program returns random data in a function
E: openbts-public no-return-in-nonvoid-function QueuedMsgHdrs.h:63, 153, 179
This commit is contained in:
Martin Hauke 2014-12-05 20:14:13 +01:00 committed by Michael Iedema
parent 702094d758
commit df1e2310f5
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public:
virtual int ProcessMessage() {
// Not currently used
LOG(DEBUG) << "Process message QueuedMsgHdrs DID NOTHING";
return 0;
}
private:
@ -150,6 +151,7 @@ public:
virtual int ProcessMessage() {
LOG(DEBUG) << "Process message TestMessage msg:" << msg; // Log is all this message has to do currently
return 0;
}//
private:
@ -176,6 +178,7 @@ public:
// Got a message in the queue go handle it
LOG(DEBUG) << "Process message ProcessIncommingMsg";
smq.process_timeout();
return 0;
}
};