Skip to content

Commit

Permalink
fix new gcc 6 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elliefm committed Aug 19, 2016
1 parent 5fa1dbc commit 495bc90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion com_err/et/error_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "mit-sipb-copyright.h"
#include "internal.h"

static const char copyright[] =
static const char copyright[] __attribute__((__unused__)) =
"Copyright 1986, 1987, 1988 by the Student Information Processing Board\nand the department of Information Systems\nof the Massachusetts Institute of Technology";

static char buffer[25];
Expand Down
2 changes: 1 addition & 1 deletion com_err/et/et_name.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "internal.h"

#ifndef lint
static const char copyright[] =
static const char copyright[] __attribute__((__unused__)) =
"Copyright 1987,1988 by Student Information Processing Board, Massachusetts Institute of Technology";
#endif

Expand Down
2 changes: 1 addition & 1 deletion imap/seen_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static void parse_data(const char *data, int datalen, struct seendata *sd)
sd->lastread = strtol(data, &p, 10); data = p;
sd->lastuid = strtoll(data, &p, 10); data = p;
sd->lastchange = strtol(data, &p, 10); data = p;
while (p < dend && Uisspace(*p)) p++; data = p;
while (p < dend && Uisspace(*p)) { p++; } data = p;
uidlen = dend - data;
sd->seenuids = xmalloc(uidlen + 1);
memcpy(sd->seenuids, data, uidlen);
Expand Down

0 comments on commit 495bc90

Please sign in to comment.