mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user