Changeset 590 for trunk/src/sh_unix.c


Ignore:
Timestamp:
Oct 27, 2025, 6:57:03 PM (16 hours ago)
Author:
katerina
Message:

Fix for ticket #478 (cppcheck warnings).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_unix.c

    r583 r590  
    1717/*  along with this program; if not, write to the Free Software            */
    1818/*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              */
     19
     20/* cppcheck-suppress-file unknownMacro */
    1921
    2022#include "config_xor.h"
     
    24122414  char          AsciiTime[81];                       /* local time   */
    24132415  time_t        time_now;
    2414   struct tm   * time_ptr;
     2416  struct tm   * time_ptr = NULL;
    24152417#if defined(HAVE_PTHREAD) && defined (_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_LOCALTIME_R)
    24162418  struct tm     time_tm;
     
    25462548#endif
    25472549    }
     2550
    25482551  if (time_ptr != NULL)
    25492552    {
Note: See TracChangeset for help on using the changeset viewer.