diff options
author | Simon Howard | 2006-09-19 23:49:20 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-19 23:49:20 +0000 |
commit | 7bc72c666dc1d1e033c01b60ca38673651c7e81c (patch) | |
tree | 9addb24980e13065c07408b74e9618d15ab0c253 /textscreen/examples/calculator.c | |
parent | 3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8 (diff) | |
download | chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.gz chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.bz2 chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.zip |
Fix textscreen warnings.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 626
Diffstat (limited to 'textscreen/examples/calculator.c')
-rw-r--r-- | textscreen/examples/calculator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c index 0c416f7c..79f8b6ee 100644 --- a/textscreen/examples/calculator.c +++ b/textscreen/examples/calculator.c @@ -99,6 +99,8 @@ void Calculate(TXT_UNCAST_ARG(button), void *unused) case OP_DIV: input_value = first_operand / input_value; break; + case OP_NONE: + break; } UpdateInputBox(); @@ -156,5 +158,7 @@ int main(int argc, char *argv[]) BuildGUI(); TXT_GUIMainLoop(); + + return 0; } |