Changeset 75e454c0 in rtems


Ignore:
Timestamp:
10/02/11 05:23:46 (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
94107fa8
Parents:
11848f35
Message:

2011-10-02 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r11848f35 r75e454c0  
     12011-10-02      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
     4
    152011-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/libnetworking/libc/res_comp.c

    r11848f35 r75e454c0  
    151151res_hnok(const char *dn)
    152152{
    153         int ppch = '\0', pch = PERIOD, ch = *dn++;
     153        int pch = PERIOD, ch = *dn++;
    154154
    155155        while (ch != '\0') {
     
    168168                                return (0);
    169169                }
    170                 ppch = pch, pch = ch, ch = nch;
     170                pch = ch, ch = nch;
    171171        }
    172172        return (1);
Note: See TracChangeset for help on using the changeset viewer.