Opened 16 years ago

Last modified 13 years ago

#827 closed Patches (fixed)

Unused variable in format date parser — at Version 2

Reported by: alexis_wilke Owned by: az_sw_dude
Milestone: Component: date_time
Version: None Severity: Problem
Keywords: Cc:

Description (last modified by Marshall Clow)

May sound silly, but an unused variable could represent a bug. Thus, Coverity found it and signaled it. It would be nice to have it removed to avoid that error in the future.

The variable seems to be a left over from other parsing functions which do make use of it.

Change History (2)

comment:1 by alexis_wilke, 16 years ago

Logged In: YES 
user_id=554061
Originator: YES

Hi guys,

I also noticed that by removing the code I removed, the current_char variable is actually unused.

I uploaded a newer patch with all the fixes.

Alexis Wilke
File Added: format_date_parser.patch

comment:2 by Marshall Clow, 15 years ago

Component: Nonedate_time
Description: modified (diff)
Severity: Problem
Note: See TracTickets for help on using tickets.