Changeset 817 for branches/ithildin-1.1


Ignore:
Timestamp:
06/23/08 19:25:19 (4 years ago)
Author:
wd
Message:

Remove unnecessary variable assignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/source/string.c

    r778 r817  
    241241#undef vsnprintf 
    242242 
    243 int ith_vsnprintf(char *str, size_t size, const char *pattern, va_list vl) { 
     243int ith_vsnprintf(char *str, size_t size, const char *pattern, va_list ap) { 
    244244    char *s; 
    245245    char *buf = str; 
    246246    const char *format = pattern; 
    247     va_list ap = vl; 
    248247    int q = 0, u = 0, x = 0; 
    249248    unsigned long i; 
     
    359358                        break; 
    360359#else 
    361                         return vsnprintf(str, size, pattern, vl); 
     360                        return vsnprintf(str, size, pattern, ap); 
    362361                        break; 
    363362#endif 
Note: See TracChangeset for help on using the changeset viewer.