diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-01 16:54:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-01 16:54:13 +0300 |
commit | 3bd46904beaab00e06fde99c37c2e5946a4f4a7c (patch) | |
tree | cc1215df4ce0e977885d377f220d2104cc60675d /source/blender/editors/gpencil/gpencil_select.c | |
parent | 22ecceec4a0a5e26d06f69d35428a82a91a049c7 (diff) |
Cleanup: warnings
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_select.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_select.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index 2be5b8dc188..29de5c414d8 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -489,7 +489,7 @@ static int gpencil_circle_select_exec(bContext *C, wmOperator *op) const int gesture_mode = RNA_int_get(op->ptr, "gesture_mode"); const bool select = (gesture_mode == GESTURE_MODAL_SELECT); - GP_SpaceConversion gsc = {0}; + GP_SpaceConversion gsc = {NULL}; rcti rect = {0}; /* for bounding rect around circle (for quicky intersection testing) */ bool changed = false; @@ -562,7 +562,7 @@ static int gpencil_border_select_exec(bContext *C, wmOperator *op) const bool select = (gesture_mode == GESTURE_MODAL_SELECT); const bool extend = RNA_boolean_get(op->ptr, "extend"); - GP_SpaceConversion gsc = {0}; + GP_SpaceConversion gsc = {NULL}; rcti rect = {0}; bool changed = false; @@ -676,7 +676,7 @@ static int gpencil_select_exec(bContext *C, wmOperator *op) int location[2] = {0}; int mx, my; - GP_SpaceConversion gsc = {0}; + GP_SpaceConversion gsc = {NULL}; bGPDstroke *hit_stroke = NULL; bGPDspoint *hit_point = NULL; @@ -835,5 +835,3 @@ void GPENCIL_OT_select(wmOperatorType *ot) } /* ********************************************** */ - -
\ No newline at end of file |