Ignore:
Timestamp:
Feb 18, 2007, 4:41:30 PM (13 years ago)
Author:
Bruno Cornec
Message:

Compiler warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-string.c

    r1178 r1180  
    7878{
    7979    char *scratch = NULL;
    80     char *out = NULL;
    81     char *p = NULL;
    8280    int i = 0;                      /* purpose */
    8381    int len = 0;                    /* purpose */
     
    108106
    109107
    110 
    111 
    112 inline void turn_wildcard_chars_into_literal_chars(char *sout, char *sin)
     108inline void turn_wildcard_chars_into_literal_chars(char *strout, char *strin)
    113109{
    114110    char *p, *q;
    115111
    116     for (p = sin, q = sout; *p != '\0'; *(q++) = *(p++)) {
     112    for (p = strin, q = strout; *p != '\0'; *(q++) = *(p++)) {
    117113        if (strchr("[]*?", *p)) {
    118114            *(q++) = '\\';
     
    329325
    330326    /*@ char     ******************************************************** */
    331     char p = NULL;
     327    char p = ' ';
    332328
    333329    assert(label != NULL);
     
    884880    /*@ int *********************************************** */
    885881    int percentage = 0;
    886     int i = 0;
    887882    int j = 0;
    888883
Note: See TracChangeset for help on using the changeset viewer.