mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 18:15:18 -04:00
Fix clang warning for
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp: 1266:13: warning: function 'recursPrintModel' is not needed and will not be emitted [-Wunneeded-internal-declaration] static void recursPrintModel(const std::vector<ForumModelPostEntry>& entries,ForumModelIndex index,int depth) ^
This commit is contained in:
parent
d96b9b054b
commit
5cb5954882
1 changed files with 1 additions and 1 deletions
|
@ -1264,6 +1264,7 @@ QModelIndex RsGxsForumModel::getIndexOfMessage(const RsGxsMessageId& mid) const
|
|||
return QModelIndex();
|
||||
}
|
||||
|
||||
#ifdef DEBUG_FORUMMODEL
|
||||
static void recursPrintModel(const std::vector<ForumModelPostEntry>& entries,ForumModelIndex index,int depth)
|
||||
{
|
||||
const ForumModelPostEntry& e(entries[index]);
|
||||
|
@ -1280,7 +1281,6 @@ static void recursPrintModel(const std::vector<ForumModelPostEntry>& entries,For
|
|||
recursPrintModel(entries,e.mChildren[i],depth+1);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_FORUMMODEL
|
||||
void RsGxsForumModel::debug_dump()
|
||||
{
|
||||
std::cerr << "Model data dump:" << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue