0023348: Expression 'ii >= 0' is always true. Unsigned type value is always >= 0.
authorPawel Kowalski <pawel-kowalski@wp.pl>
Fri, 3 Aug 2012 09:28:27 +0000 (13:28 +0400)
committerPawel Kowalski <pawel-kowalski@wp.pl>
Fri, 3 Aug 2012 09:28:27 +0000 (13:28 +0400)
commitd33dea30d59dcf546a04e4c6bc64903b53aa2005
tree7eea9d134765451df854d04a68f6ebac0dab8535
parent3b4c36f540c1d937e3d3f61ecc45a3ae48bc18e5
0023348: Expression 'ii >= 0' is always true. Unsigned type value is always >= 0.

Redesigned the loop to work correctly with unsigned variables.
Treatment of path to source file is rewritten using OSD_Path for more clarity
Command getsourcefile corrected to return its result as Tcl string, and simplified
Error in treatment of optional arguments in substituted puts is fixed in src/DrawResources/TestCommands.tcl
Test case added: demo draw getsource
src/Draw/Draw_Interpretor.cxx
src/DrawResources/StandardCommands.tcl
src/DrawResources/TestCommands.tcl
tests/demo/draw/getsource [new file with mode: 0644]