Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/sljit/dist/test_src Compile with WARNS=3.



details:   https://anonhg.NetBSD.org/src/rev/69fbd7f17bee
branches:  trunk
changeset: 782522:69fbd7f17bee
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Mon Nov 05 00:18:50 2012 +0000

description:
Compile with WARNS=3.

diffstat:

 sys/external/bsd/sljit/dist/test_src/sljitMain.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 773c04aad829 -r 69fbd7f17bee sys/external/bsd/sljit/dist/test_src/sljitMain.c
--- a/sys/external/bsd/sljit/dist/test_src/sljitMain.c  Sun Nov 04 23:37:02 2012 +0000
+++ b/sys/external/bsd/sljit/dist/test_src/sljitMain.c  Mon Nov 05 00:18:50 2012 +0000
@@ -31,6 +31,7 @@
 
 void sljit_test(void);
 
+#if 0
 void error(SLJIT_CONST char* str)
 {
        printf("An error occured: %s\n", str);
@@ -76,6 +77,7 @@
        printf("buf[3] = %ld\n", (long)buf[3]);
        sljit_free_code(code.code);
 }
+#endif
 
 int main(int argc, char* argv[])
 {



Home | Main Index | Thread Index | Old Index