Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-03-01 21:58:03 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-03-01 21:59:12 +0300
commit568fa11a0405af1dade948b8343c7be3eb5860ab (patch)
treed393c99e5a66d92c13a78423c3dce7835a733195
parent6194aa5ce9796e8fc761605df8cee9452d9e0fe5 (diff)
Fix warning for uiButPushedStateFunc
I changed the number of arguments for uiButPushedStateFunc and forgot to update parts of the code (rB92182495da881).
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 2e64ce2bae0..fba5b70392a 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -268,7 +268,7 @@ static void restrictbutton_id_user_toggle(bContext *UNUSED(C), void *poin, void
}
}
-static int base_pushed_state_cb(bContext *UNUSED(C), void *poin, void *UNUSED(poin2))
+static int base_pushed_state_cb(bContext *UNUSED(C), void *poin)
{
Base *base = poin;
Object *ob = base->object;
@@ -343,7 +343,7 @@ static void hidebutton_base_flag_cb(bContext *C, void *poin, void *poin2)
}
}
-static int layer_collection_pushed_state_cb(bContext *UNUSED(C), void *poin, void *UNUSED(poin2))
+static int layer_collection_pushed_state_cb(bContext *UNUSED(C), void *poin)
{
LayerCollection *lc = poin;
Collection *collection = lc->collection;