Ignore:
Timestamp:
Dec 5, 2011, 10:30:33 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #281 (warnings from clang static analyzer).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r379 r383  
    460460      list = list->next;
    461461    }
     462
     463  sh_dummy_watchlist = NULL;
     464  return;
    462465}
    463466
     
    518521  SL_ENTER(_("sh_prochk_set_pspath"));
    519522
    520   if (!str && ('/' != str[0]))
     523  if (!str || ('/' != str[0]))
    521524    SL_RETURN((-1), _("sh_prochk_set_pspath"));
    522525  if (sh_prochk_pspath)
Note: See TracChangeset for help on using the changeset viewer.