Couple more minor warning fixes.

This commit is contained in:
Unknown W. Brackets
2013-03-15 08:19:02 -07:00
parent 6477f608bc
commit d8dd889bfd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2709,7 +2709,7 @@ void ActionAfterCallback::run(MipsCall &call) {
// Returns true if any callbacks were processed on the current thread.
bool __KernelCheckThreadCallbacks(Thread *thread, bool force)
{
if (!thread->isProcessingCallbacks && !force)
if (!thread || (!thread->isProcessingCallbacks && !force))
return false;
for (int i = 0; i < THREAD_CALLBACK_NUM_TYPES; i++) {