diff --git a/3rdparty/apriltag/common/image_u8x3.cpp b/3rdparty/apriltag/common/image_u8x3.cpp index 97a7bba564..1f1d6d49ce 100644 --- a/3rdparty/apriltag/common/image_u8x3.cpp +++ b/3rdparty/apriltag/common/image_u8x3.cpp @@ -142,7 +142,7 @@ int image_u8x3_write_pnm(const image_u8x3_t *im, const char *path) if (f == NULL) { res = -1; - fclose(f); + //fclose(f); return res; // goto finish; }