From: Chih-Jen Lin Date: Fri, 23 Aug 2019 09:12:39 +0000 (-0700) Subject: in commit 347607e403e8b43e097ee409a908aa0d186e09f5 X-Git-Tag: v240~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ba656e80947f7fbfea3a8d49b04cd1e1cc496fb;p=liblinear in commit 347607e403e8b43e097ee409a908aa0d186e09f5 we added return 0 into print_null in predict.c. This should be applied to matlab/predict.c as well. --- diff --git a/matlab/predict.c b/matlab/predict.c index e0ee5bd..1fb865f 100644 --- a/matlab/predict.c +++ b/matlab/predict.c @@ -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;