From 2ba656e80947f7fbfea3a8d49b04cd1e1cc496fb Mon Sep 17 00:00:00 2001 From: Chih-Jen Lin Date: Fri, 23 Aug 2019 02:12:39 -0700 Subject: [PATCH] in commit 347607e403e8b43e097ee409a908aa0d186e09f5 we added return 0 into print_null in predict.c. This should be applied to matlab/predict.c as well. --- matlab/predict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1