* fix a few compiler warnings

This commit is contained in:
djcb
2013-05-13 22:30:27 +03:00
parent ba2a56a9dd
commit 4174ac7ed2
4 changed files with 11 additions and 1 deletions

View File

@ -805,6 +805,8 @@ cmd_extract (ServerContext *ctx, GSList *args, GError **err)
MuError rv;
const char* actionstr, *indexstr;
rv = MU_ERROR;
/* read parameters */
GET_STRING_OR_ERROR_RETURN (args, "action", &actionstr, err);
GET_STRING_OR_ERROR_RETURN (args, "index", &indexstr, err);

View File

@ -87,7 +87,10 @@ main (int argc, char *argv[])
MuConfig *conf;
setlocale (LC_ALL, "");
#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif /*GLIB_VERSION_2_36*/
err = NULL;
rv = MU_OK;