]> git.mxchange.org Git - flightgear.git/commit
Patch from Melchior Franz:
authordavid <david>
Wed, 27 Mar 2002 12:49:29 +0000 (12:49 +0000)
committerdavid <david>
Wed, 27 Mar 2002 12:49:29 +0000 (12:49 +0000)
commit7e1b59936865d1a6efced13d2384004d08b99baf
tree17e2a173c9a5b30836401f6340352f8f67af9b10
parent37b60664d100aaf907adfa38d26466dfc3d5176f
Patch from Melchior Franz:

When the loop starts, n.type is still undefined, so the while statement
depends on unitialized garbage. The input operator cares for the [End]
bracket anyway (returns if the first character is a '['). So it is safe
to check for it after reading the line and break if necessary.
src/Navaids/ilslist.cxx
src/Navaids/navlist.cxx