Skip to content

Commit 79c4c0e

Browse files
committed
Initialize is_present to false instead of 0.
1 parent 2025387 commit 79c4c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtext/org.icyphy.linguafranca/src/lib/Python/pythontarget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ action_capsule_new(PyTypeObject *type, PyObject *args, PyObject *kwds) {
522522
if (self != NULL) {
523523
self->action = NULL;
524524
self->value = NULL;
525-
self->is_present = 0;
525+
self->is_present = false;
526526
}
527527

528528
return (PyObject *) self;

0 commit comments

Comments
 (0)