aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctl-lib/ctl-action.c')
-rw-r--r--ctl-lib/ctl-action.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctl-lib/ctl-action.c b/ctl-lib/ctl-action.c
index 41ce70b..0b6a8e7 100644
--- a/ctl-lib/ctl-action.c
+++ b/ctl-lib/ctl-action.c
@@ -199,7 +199,6 @@ PUBLIC int ActionLoadOne(AFB_ApiT apiHandle, CtlActionT *action, json_object *ac
if (callbackJ) {
modeCount++;
action->type = CTL_TYPE_CB;
- modeCount++;
err = PluginGetCB (apiHandle, action, callbackJ);
if (err) goto OnErrorExit;
}