Warning fix for Visual Studio
This commit is contained in:
parent
93eb7eae0b
commit
ed044e4b8c
1 changed files with 2 additions and 2 deletions
|
|
@ -802,8 +802,8 @@ public:
|
|||
const char *triple_double = "\"\"\"";
|
||||
// follow PEP257 rules: https://www.python.org/dev/peps/pep-0257/
|
||||
// reported by pep257: https://github.com/GreenSteam/pep257
|
||||
const bool multi_line_ds = Strchr(mod_docstring, '\n');
|
||||
Printv(f_shadow, triple_double, multi_line_ds?"\n":"", mod_docstring, multi_line_ds?"\n":"", triple_double, "\n\n", NIL);
|
||||
bool multi_line_ds = Strchr(mod_docstring, '\n') != 0;
|
||||
Printv(f_shadow, triple_double, multi_line_ds ? "\n":"", mod_docstring, multi_line_ds ? "\n":"", triple_double, "\n\n", NIL);
|
||||
Delete(mod_docstring);
|
||||
mod_docstring = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue