Actions
Task #1506
closedUnitiailzed Variables in tlv readVarNumber/readType
Status:
Closed
Priority:
Low
Assignee:
Michael Sweatt
Category:
-
Target version:
-
Start date:
04/20/2014
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
There are a few uninitialized variables, which are declared and then passed into another function by reference.
This causes the build to fail in debug mode.
In these functions the variable is always either set or an error is thrown, thus initializing them to an arbitrary values should be
a sufficicent fix.
Updated by Alex Afanasyev almost 10 years ago
Interestingly, this warning is generated only when -Og
is specified. On Jenkins bot we compile in optimized mode with -O2
, that is why it didn't catch it.
Updated by Alex Afanasyev almost 10 years ago
- Status changed from New to Code review
- % Done changed from 90 to 100
Updated by Alex Afanasyev almost 10 years ago
- Status changed from Code review to Closed
Actions