Skip to content

Commit

Permalink
Removed possible uninitilaized speed if process is typo'd
Browse files Browse the repository at this point in the history
azonenberg committed Jul 21, 2017
1 parent b504a02 commit d2096bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/greenpak4/Greenpak4BitstreamEntity.cpp
Original file line number Diff line number Diff line change
@@ -444,7 +444,7 @@ bool Greenpak4BitstreamEntity::LoadTimingDataForCorner(json_object* object)
speed = PTVCorner::SPEED_FAST;
else if(sprocess == "slow")
speed = PTVCorner::SPEED_SLOW;
else if(sprocess == "typical")
else //if(sprocess == "typical")
speed = PTVCorner::SPEED_TYPICAL;

//This is the process corner we're loading

0 comments on commit d2096bf

Please sign in to comment.