Merge pull request #123 from anishmonachan7/fix_unused_variable

fix unused variable error with gcc 8.3
This commit is contained in:
Tristan Penman 2021-04-08 08:54:13 +10:00 committed by GitHub
commit 70f12ed1d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -914,6 +914,9 @@ public:
freeFn(ptr); freeFn(ptr);
throw; throw;
} }
#else
// pretend to use freeFn to avoid warning in GCC 8.3
(void)freeFn;
#endif #endif
} }