Ignore:
Timestamp:
May 30, 2015, 7:57:16 PM (9 years ago)
Author:
katerina
Message:

Fix for ticket #372 (Replace obsolete smatch by clang in test suite).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_err_console.c

    r379 r474  
    328328  /* --- daemon && initialized ---
    329329   */
    330   if ( (OnlyStderr == S_FALSE) )
     330  if ( OnlyStderr == S_FALSE )
    331331    {
    332332      fd[0] = open ( sh.srvcons.name, O_WRONLY|O_APPEND|O_NOCTTY|O_NONBLOCK);
     
    340340      }
    341341
    342       if (sh.srvcons.alt != NULL && sh.srvcons.alt[0] != '\0')
     342      if (sh.srvcons.alt[0] != '\0')
    343343        {
    344344          fd[1] = open (sh.srvcons.alt, O_WRONLY|O_APPEND|O_NOCTTY|O_NONBLOCK);
Note: See TracChangeset for help on using the changeset viewer.