Fixed 3 old compile warnings.

This commit is contained in:
Benoît Dejean
2018-07-22 12:23:11 +02:00
parent 40144f3908
commit 7c811a7826
2 changed files with 3 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ parse_line(char* line,
{ {
/* %16llx-%16llx %4c %16llx %02hx:%02hx %llu%*[ ]%n */ /* %16llx-%16llx %4c %16llx %02hx:%02hx %llu%*[ ]%n */
char *p, *next; char *p;
p = line; p = line;

View File

@@ -35,7 +35,7 @@ static const unsigned long _glibtop_sysdeps_proc_mem_pss =
static unsigned long static unsigned long
get_pss(glibtop* server, pid_t pid) G_GNUC_UNUSED get_pss(glibtop* server, pid_t pid)
{ {
char filepath[128]; char filepath[128];
FILE* smaps; FILE* smaps;