smart-green-house/rtt-uart-nb/rt-thread/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch

22 lines
499 B
Diff

diff --git a/frontends/qconf/qconf.cc b/frontends/qconf/qconf.cc
--- a/frontends/qconf/qconf.cc
+++ b/frontends/qconf/qconf.cc
@@ -32,7 +32,7 @@
#include "qconf.h"
#include "qconf.moc"
-#include "images.c"
+#include "images.h"
#ifdef _
# undef _
@@ -318,7 +318,7 @@
showName(false), showRange(false), showData(false), mode(singleMode), optMode(normalOpt),
rootEntry(0), headerPopup(0)
{
- int i;
+ int i __attribute__((unused));
setObjectName(name);
setSortingEnabled(false);