summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2024-04-01 21:00:28 +0300
committerDongkyun Son <dongkyun.s@samsung.com>2024-04-02 10:05:56 +0900
commit4c08741870307952defbd71422f2879452413c9f (patch)
tree198ae777dcecdc9002eb0d4b885a7692ed3d047a
parent017fc15afbebc2de5a407190600205ccaa1d70f7 (diff)
downloadOpen3D-4c08741870307952defbd71422f2879452413c9f.tar.gz
Open3D-4c08741870307952defbd71422f2879452413c9f.tar.bz2
Open3D-4c08741870307952defbd71422f2879452413c9f.zip
New Glibc has fclose() argument marked as non-null Change-Id: If3abdb76b573ffe42c1f42b2540e024c2c4f8df1
-rw-r--r--examples/cpp/IntegrateRGBD.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/cpp/IntegrateRGBD.cpp b/examples/cpp/IntegrateRGBD.cpp
index dd5a8eed..39fc3d98 100644
--- a/examples/cpp/IntegrateRGBD.cpp
+++ b/examples/cpp/IntegrateRGBD.cpp
@@ -68,7 +68,6 @@ int main(int argc, char *argv[]) {
FILE *file = utility::filesystem::FOpen(match_filename, "r");
if (file == NULL) {
utility::LogWarning("Unable to open file {}", match_filename);
- fclose(file);
return 0;
}
char buffer[DEFAULT_IO_BUFFER_SIZE];