Changeset 383 for trunk/src/sh_html.c


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

    r248 r383  
    158158#endif
    159159          if (time_ptr != NULL)
    160             status = strftime (ts1, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
     160            strftime (ts1, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
    161161          now = time(NULL);
    162162#if defined(HAVE_PTHREAD) && defined (_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_LOCALTIME_R)
     
    166166#endif
    167167          if (time_ptr != NULL)
    168             status = strftime (ts2, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
     168            strftime (ts2, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
    169169
    170170          sl_snprintf(outline, 1023,
     
    192192#endif
    193193              if (time_ptr != NULL)
    194                 status = strftime (ts1, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
     194                strftime (ts1, 80, _("%d-%m-%Y %H:%M:%S"), time_ptr);
    195195              sl_snprintf(outline, 1023,
    196196                          _("<p>Last connection at %s</p>"),
     
    323323            {
    324324              entry_size = 0;
    325               add_size   = 0;
     325              /* add_size   = 0; *//* never read */
    326326              SL_RETURN( 0, _("sh_html_get_entry"));
    327327            }
Note: See TracChangeset for help on using the changeset viewer.