diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-22 09:20:25 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-22 09:20:25 +0000 |
commit | e5b10e31745f33c3d7af7986a1ad7d15746b5af4 (patch) | |
tree | b6e39eba41136381ac21cc18f96adcc34e0d5877 /libavcodec/eval.c | |
parent | 1f8e32cda1bf7dbc6619cc471360a8cb4f1a540c (diff) | |
download | ffmpeg-e5b10e31745f33c3d7af7986a1ad7d15746b5af4.tar.gz |
Fix warnings in test code:
eval.c:454: warning: return type defaults to 'int'
eval.c:464: warning: control reaches end of non-void function
Originally committed as revision 11594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r-- | libavcodec/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index e6394c39c1..da4876375d 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -451,7 +451,7 @@ static const char *const_names[]={ "E", 0 }; -main(void){ +int main(void){ int i; printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); @@ -461,5 +461,6 @@ main(void){ ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL); STOP_TIMER("ff_eval") } + return 0; } #endif |