Ignore:
Timestamp:
Nov 22, 2009, 4:01:24 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed most of Clang Static Checker warnings. And rand() is ok to me, thank you.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/grab.c

    r3954 r4001  
    228228        /* FIXME check value of r */
    229229        int r = asprintf(&fds, "%s/fd/*", pglob.gl_pathv[i]);
     230        (void) r;
    230231        glob(fds, GLOB_NOSORT, NULL, &pglob2);
    231232        free(fds);
     
    243244                /* FIXME check value of r */
    244245                r = asprintf(&cmdfile, "%s/cmdline", pglob.gl_pathv[i]);
     246                (void) r;
    245247                fd = open(cmdfile, O_RDONLY);
    246248                free(cmdfile);
     
    249251                    /* FIXME check value of r */
    250252                    r = read(fd, path, sizeof(path));
     253                    (void) r;
    251254                    (*process_list)[n].cmdline = strdup(path);
    252255                    close(fd);
Note: See TracChangeset for help on using the changeset viewer.