There is warning during compilation of SWIG's python API on Windows. Because we're threating warnings as errors compilation fails. Attached patch by Tomasz Moniuszko gets rid of said warning by moving variable assignment outside of if clause.
Thanks. Fixed in a89a4d9e844935c53f07e1ebeea5fbd636e4b263 with a slightly different change (to avoid reindenting the whole block).
Log in to post a comment.
Thanks. Fixed in a89a4d9e844935c53f07e1ebeea5fbd636e4b263 with a slightly different change (to avoid reindenting the whole block).