]> granicus.if.org Git - liblinear/commitdiff
in commit 347607e403e8b43e097ee409a908aa0d186e09f5
authorChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Fri, 23 Aug 2019 09:12:39 +0000 (02:12 -0700)
committerChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Fri, 23 Aug 2019 09:12:39 +0000 (02:12 -0700)
we added return 0 into print_null in predict.c. This should
be applied to matlab/predict.c as well.

matlab/predict.c

index e0ee5bd12511deca5f1f4c612836e8d50e60d206..1fb865f09b7a218fe09f71b72d3d80528f3ebdcd 100644 (file)
@@ -16,7 +16,7 @@ typedef int mwIndex;
 
 #define Malloc(type,n) (type *)malloc((n)*sizeof(type))
 
-int print_null(const char *s,...) {}
+int print_null(const char *s,...) {return 0;}
 int (*info)(const char *fmt,...);
 
 int col_format_flag;