Ignore:
Timestamp:
Oct 31, 2026, 7:16:07 PM (21 hours ago)
Author:
katerina
Message:

Fixes for compiler warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r574 r592  
    210210  sl_snprintf (path, sizeof(path), _("/proc/%ld/exe"), (unsigned long) pid);
    211211
     212  /* cppcheck-suppress syntaxError */
    212213  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
    213214    {
    … …  
    217218  sl_snprintf (path, sizeof(path), _("/proc/%ld/file"), (unsigned long) pid);
    218219
     220  /* cppcheck-suppress syntaxError */
    219221  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
    220222    {
    … …  
    224226  sl_snprintf (path, sizeof(path), _("/proc/%ld/path/a.out"), (unsigned long) pid);
    225227
     228  /* cppcheck-suppress syntaxError */
    226229  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
    227230    {
Note: See TracChangeset for help on using the changeset viewer.