Browse Source

appbench, appsrv: Fix malformed QCoreApplication::applicationVersion() call

Remove an inadvertent '>' character from the
QCoreApplication::applicationVersion() call in the startup version
logging for both appbench and appsrv.

This typo was identified by cppcheck during static analysis. Correcting
the expression restores valid C++ syntax, allowing the applications to
compile correctly and report their version information in the startup
log.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 4 months ago
parent
commit
eaac5d032a
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 2
      appbench/main.cpp
  2. 2
      appsrv/main.cpp

2
appbench/main.cpp

@ -92,7 +92,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
#else #else
qInfo("%s %s Qt %s %db DSP Rx:%db Tx:%db PID %lld", qInfo("%s %s Qt %s %db DSP Rx:%db Tx:%db PID %lld",
qPrintable(QCoreApplication::applicationName()), qPrintable(QCoreApplication::applicationName()),
qPrintable(QCoreApplication::>applicationVersion()), qPrintable(QCoreApplication::applicationVersion()),
qPrintable(QString(QT_VERSION_STR)), qPrintable(QString(QT_VERSION_STR)),
QT_POINTER_SIZE*8, QT_POINTER_SIZE*8,
SDR_RX_SAMP_SZ, SDR_RX_SAMP_SZ,

2
appsrv/main.cpp

@ -175,7 +175,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
#else #else
qInfo("%s %s Qt %s %db DSP Rx:%db Tx:%db PID %lld", qInfo("%s %s Qt %s %db DSP Rx:%db Tx:%db PID %lld",
qPrintable(QCoreApplication::applicationName()), qPrintable(QCoreApplication::applicationName()),
qPrintable(QCoreApplication::>applicationVersion()), qPrintable(QCoreApplication::applicationVersion()),
qPrintable(QString(QT_VERSION_STR)), qPrintable(QString(QT_VERSION_STR)),
QT_POINTER_SIZE*8, QT_POINTER_SIZE*8,
SDR_RX_SAMP_SZ, SDR_RX_SAMP_SZ,

Loading…
Cancel
Save