Warning cleanup

- ignoring const
- declarations after statements
- some C files didnt include own headers (risking them getting out of sync)

Closes #1064
This commit is contained in:
Campbell Barton authored and TingPing committed 2014-11-02 14:41:20 -05:00
1 parent 9fb4eb5107
commit f83d78dd28
17 files changed
+29 -21

No files matched your search

+1
View File
@@ -26,6 +26,7 @@
#include <dbus/dbus-glib-lowlevel.h>
#include <glib/gi18n.h>
#include "hexchat-plugin.h"
#include "dbus-plugin.h"
#define PNAME _("remote access")
#define PDESC _("plugin for remote access using DBUS")
+1 -1
View File
@@ -33,7 +33,7 @@ guint command_id;
guint server_id;
static void
write_error (char *message,
write_error (const char *message,
GError **error)
{
if (error == NULL || *error == NULL) {