mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CComponents: fix compiler warnings with DEBUG_CC
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9eddaedfdd
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -85,13 +85,13 @@ void CComponentsForm::clearCCItems()
|
||||
if (v_cc_items.empty())
|
||||
return;
|
||||
#ifdef DEBUG_CC
|
||||
printf(" [CComponentsForm] %s... delete %d cc-item(s) \n", __func__, v_cc_items.size());
|
||||
printf(" [CComponentsForm] %s... delete %d cc-item(s) \n", __func__, (int)v_cc_items.size());
|
||||
#endif
|
||||
|
||||
for(size_t i=0; i<v_cc_items.size(); i++) {
|
||||
if (v_cc_items[i]){
|
||||
#ifdef DEBUG_CC
|
||||
printf(" [CComponentsForm] %s... delete form cc-item %d of %d (type=%d)\n", __func__, i+1, v_cc_items.size(), v_cc_items[i]->getItemType());
|
||||
printf(" [CComponentsForm] %s... delete form cc-item %d of %d (type=%d)\n", __func__, (int)i+1, (int)v_cc_items.size(), v_cc_items[i]->getItemType());
|
||||
#endif
|
||||
delete v_cc_items[i];
|
||||
v_cc_items[i] = NULL;
|
||||
|
Reference in New Issue
Block a user