Fix Clang warnings: function 'update_children_background' is not needed

warning: function 'update_children_background' is not needed and will
not be emitted [-Wunneeded-internal-declaration]
static void update_children_background(QTreeWidgetItem *item, uint32_t
type)
            ^
This commit is contained in:
Phenom 2017-04-07 18:40:02 +02:00 committed by csoler
parent d8a73132c1
commit a476a8138c

View file

@ -1233,6 +1233,7 @@ static void set_item_background(QTreeWidgetItem *item, uint32_t type)
item->setBackground (0, brush); item->setBackground (0, brush);
} }
#ifdef SUSPENDED
static void update_children_background(QTreeWidgetItem *item, uint32_t type) static void update_children_background(QTreeWidgetItem *item, uint32_t type)
{ {
int count = item->childCount(); int count = item->childCount();
@ -1248,7 +1249,6 @@ static void update_children_background(QTreeWidgetItem *item, uint32_t type)
} }
} }
#ifdef SUSPENDED
static void set_tree_background(QTreeWidget *tree, uint32_t type) static void set_tree_background(QTreeWidget *tree, uint32_t type)
{ {
std::cerr << "CirclesDialog set_tree_background()"; std::cerr << "CirclesDialog set_tree_background()";