Hide compiler warning.
authorCarl Hetherington <cth@carlh.net>
Sun, 24 Sep 2023 11:13:40 +0000 (13:13 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Nov 2023 20:19:56 +0000 (21:19 +0100)
commit7a95493bd2e6348135dbdbd4297af7971584742f
treebfa6ca01fae8084305a23fd97a5b6e8b281b46a2
parent224e334714c6caec9def038f7292f98ddd32ac7d
Hide compiler warning.

In file included from ../src/lib/grok/context.h:29,
                 from ../src/lib/j2k_encoder.h:36,
                 from ../src/lib/grok_j2k_encoder_thread.cc:5:
In member function ‘void grk_plugin::Synch::unlink()’,
    inlined from ‘grk_plugin::Synch::Synch(const string&, const string&)’ at ../src/lib/grok/messenger.h:200:10:
../src/lib/grok/messenger.h:247:52: error: ‘this’ pointer is null [-Werror=nonnull]
  247 |                         getMessengerLogger()->error("Error unlinking semaphore %s: %s", sentSemName_.c_str(),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  248 |                                                                                 strerror(errno));

on Ubuntu 22.04.
wscript