Changeset - da187468cae4
[Not reviewed]
default
0 1 0
matthewreed - 8 years ago 2017-04-10 18:15:48

Added default cases to switch statements
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/protocol.c
Show inline comments
 
@@ -91,12 +91,15 @@ bool protocol_process_message(protocol_m
 
            case CONFIG:
 
                {
 
                    //call config weak function
 
                    result = protocol_config(message);
 
                }
 
                break;
 
            default:
 
                result = false;
 
                break;
 
        }
 
    }
 
    
 
    return result;
 
}
 
0 comments (0 inline, 0 general)