From a4b43f3a1f5906fad41a9f12b699c921dadede5b Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Sun, 21 Apr 2024 18:59:41 +0200 Subject: [PATCH] Fix warning: argument 1 null where non-null expected [-Wnonnull] detected on Ubuntu 24.04 --- 3rdparty/apriltag/common/image_u8x3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }