Skip to content

Commit

Permalink
Remove unused (when build type is not debug) variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoltes committed Jul 27, 2023
1 parent aab28be commit 46e98e9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ celix_components_ready_check_t* celix_componentsReadyCheck_create(celix_bundle_c
}

char filter[32];
int written =
snprintf(filter, sizeof(filter), "(%s=%s)", CELIX_CONDITION_ID, CELIX_CONDITION_ID_FRAMEWORK_READY);
assert(written < sizeof(filter));
snprintf(filter, sizeof(filter), "(%s=%s)", CELIX_CONDITION_ID, CELIX_CONDITION_ID_FRAMEWORK_READY);

celix_service_tracking_options_t opts = CELIX_EMPTY_SERVICE_TRACKING_OPTIONS;
opts.filter.serviceName = CELIX_CONDITION_SERVICE_NAME;
Expand Down

0 comments on commit 46e98e9

Please sign in to comment.