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_readconf.c

    r367 r383  
    142142  while (tmp && isspace((int)*tmp)) ++tmp;
    143143 
    144   if (tmp[0] == '$' && tmp[1] == '(')
     144  if (tmp && tmp[0] == '$' && tmp[1] == '(')
    145145    {
    146146      size_t len = strlen(tmp);
Note: See TracChangeset for help on using the changeset viewer.