matthiasbock / dymo-cups-drivers

Inofficial repository for Dymo's offical FOSS CUPS printer drivers for Linux
https://www.dymo.com/en-US/dymo-label-sdk-and-cups-drivers-for-linux-dymo-label-sdk-cups-linux-p--1
GNU General Public License v2.0
79 stars 22 forks source link

warning: variable ‘StatusOK’ set but not used #4

Closed matthiasbock closed 6 years ago

matthiasbock commented 6 years ago

Commit: f15cda20e043f88342f889e66e57218d9c8053f2

g++ -DHAVE_CONFIG_H -I. -I../../src -I../common    -O2 -Wall -Wno-unknown-pragmas   -MT LabelWriterLanguageMonitor.o -MD -MP -MF .deps/LabelWriterLanguageMonitor.Tpo -c -o LabelWriterLanguageMonitor.o LabelWriterLanguageMonitor.cpp
LabelWriterLanguageMonitor.cpp: In member function ‘void DymoPrinterDriver::CLabelWriterLanguageMonitor::CheckStatusAndReprint()’:
LabelWriterLanguageMonitor.cpp:124:13: warning: variable ‘StatusOK’ set but not used [-Wunused-but-set-variable]
     bool    StatusOK    = ReadStatus(Status);
             ^~~~~~~~