This way if variables defined using unused() macro are actually
used then code will not compile...
- removed unused usage around one argc and one argv since those
were used
- changed one unused (char *argv[]) to unused (char **argv) to
work with modified unused() macro definition
#include "talloc-extra.h"
#include "crypto.h"
#include "talloc-extra.h"
#include "crypto.h"
-#define unused(x) x __attribute__ ((unused))
+#define unused(x) x ## _unused __attribute__ ((unused))
#define STRINGIFY(s) STRINGIFY_(s)
#define STRINGIFY_(s) #s
#define STRINGIFY(s) STRINGIFY_(s)
#define STRINGIFY_(s) #s
int
notmuch_setup_command (notmuch_config_t *config,
int
notmuch_setup_command (notmuch_config_t *config,
- unused (int argc), unused (char *argv[]))
+ int argc, char *argv[])
{
char *response = NULL;
size_t response_size = 0;
{
char *response = NULL;
size_t response_size = 0;
*/
static int
notmuch_command (notmuch_config_t *config,
*/
static int
notmuch_command (notmuch_config_t *config,
- unused(int argc), unused(char *argv[]))
+ unused(int argc), unused(char **argv))
{
char *db_path;
struct stat st;
{
char *db_path;
struct stat st;