summaryrefslogtreecommitdiff
path: root/textscreen/examples/calculator.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-19 23:49:20 +0000
committerSimon Howard2006-09-19 23:49:20 +0000
commit7bc72c666dc1d1e033c01b60ca38673651c7e81c (patch)
tree9addb24980e13065c07408b74e9618d15ab0c253 /textscreen/examples/calculator.c
parent3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8 (diff)
downloadchocolate-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.c4
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;
}