From abab4a890bf3311d9477fec2259d84f8c2baa284 Mon Sep 17 00:00:00 2001 From: Ricardo Delfin Date: Tue, 29 Sep 2020 15:13:34 +0100 Subject: [PATCH] Fixed bug in example where output of fscanf is unused Some combinations of C stdlib implementations and compilers will cause an error if the `fscanf()` return value is not used. This fix corrects that. --- examples/flann_example.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/flann_example.c b/examples/flann_example.c index e588359d..74b1eedd 100644 --- a/examples/flann_example.c +++ b/examples/flann_example.c @@ -28,7 +28,10 @@ float* read_points(const char* filename, int rows, int cols) for (i=0;i