Rev 6857 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6857 | Rev 7802 | ||
---|---|---|---|
Line 142... | Line 142... | ||
142 | 142 | ||
Line 143... | Line 143... | ||
143 | 143 | ||
144 | char* strrchr(const char* string, int c) |
144 | char* strrchr(const char* string, int c) |
145 | { |
145 | { |
146 | char* last_found; |
146 | char* last_found = 0; // ! |
147 | while (*string) |
147 | while (*string) |
148 | { |
148 | { |
149 | if (*string==c) |
149 | if (*string==c) |
150 | { |
150 | { |