Kaydet (Commit) c4b76c46 authored tarafından Pranav Kant's avatar Pranav Kant

gtktiledviewer: Unused variable

Change-Id: I1bf8833041cf0e0a42aca1b6d851f6f4ca28d68f
üst a9153b4e
......@@ -1587,10 +1587,9 @@ static void commentCallback(LOKDocView* pLOKDocView, gchar* pComment, gpointer /
boost::property_tree::ptree aRoot;
boost::property_tree::read_json(aStream, aRoot);
boost::property_tree::ptree aComment = aRoot.get_child("comment");
gint nPos = 0;
GtkWidget* pCommentsGrid = rWindow.m_pCommentsSidebar->m_pCommentsVBox;
GList* pChildren = gtk_container_get_children(GTK_CONTAINER(pCommentsGrid));
for (GList* l = pChildren; l != nullptr; l = l->next, nPos++)
for (GList* l = pChildren; l != nullptr; l = l->next)
{
int *id = static_cast<int*>(g_object_get_data(G_OBJECT(l->data), "id"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment