<p>Here's what GCC tells me when I build this:</p>
<pre lang="gcc"><code>../../src/plugins.c: In function 'proxied_count_inc':
../../src/plugins.c:140:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../../src/plugins.c: In function 'proxied_count_dec':
../../src/plugins.c:149:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../../src/plugins.c: In function 'plugin_load_so':
../../src/plugins.c:590:14: warning: unused variable 'p_geany_data' [-Wunused-variable]
GeanyData **p_geany_data;
^
../../src/plugins.c: In function 'plugin_new':
../../src/plugins.c:648:11: warning: unused variable 'module' [-Wunused-variable]
GModule *module;
^
../../src/plugins.c: In function 'unregister_proxy':
../../src/plugins.c:897:110: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
foreach_ptr_array(p, i, supported_plugin_list)
^
../../src/plugins.c: In function 'is_plugin':
../../src/plugins.c:1022:114: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
foreach_ptr_array(proxy, i, supported_plugin_list)
^
../../src/plugins.c: In function 'load_plugins_from_path':
../../src/plugins.c:1086:17: warning: unused variable 'tmp' [-Wunused-variable]
gchar *fname, *tmp;
^
../../src/plugins.c: In function 'pm_plugin_toggled':
../../src/plugins.c:1432:29: warning: unused variable 'valid' [-Wunused-variable]
gboolean old_state, state, valid;
^
../../src/plugins.c: In function 'pm_treeview_query_tooltip':
../../src/plugins.c:1583:24: warning: initialization discards 'const' qualifier from pointer target type
gchar *uncheck_str = "\n<i>Other plugins depend on this. Disable them first to allow deactivation.</i>\n";
^
../../src/plugins.c:1590:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
markup = g_strdup_printf(tmp, can_uncheck ? "" : uncheck_str);
^
../../src/plugins.c: In function 'pm_prepare_treeview':
../../src/plugins.c:1738:9: warning: unused variable 'list' [-Wunused-variable]
GList *list;
^
../../src/plugins.c:1737:14: warning: unused variable 'iter' [-Wunused-variable]
GtkTreeIter iter;
^
../../src/plugins.c: At top level:
../../src/plugins.c:78:22: warning: 'builtin_extensions' defined but not used [-Wunused-variable]
static const gchar * builtin_extensions[] = { G_MODULE_SUFFIX, NULL };
^
</code></pre>
<pre><code>../../plugins/demoproxy.c: In function 'proxy_init':
../../plugins/demoproxy.c:68:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gchar *key = g_strdup_printf(fmt, i++);
^
../../plugins/demoproxy.c: In function 'proxy_help':
../../plugins/demoproxy.c:92:12: warning: unused variable 'file' [-Wunused-variable]
GKeyFile *file;
^
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/629#issuecomment-138334716">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwh7XUudI1yF-L54m_mWtFwSySPdks5ovbBvgaJpZM4Fy7fG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany/pull/629#issuecomment-138334716"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>