-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty. #3350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ssnprintf(inst->ident.plugin_instance, | ||
sizeof(inst->ident.plugin_instance), "%s-%s", | ||
tmp_plugin_instance, AGG_FUNC_PLACEHOLDER); | ||
// Both tmp_plugin and tmp_plugin_instance are non-empty. | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This else
clause is not reachable before this fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good fix from logical point of view.
@kwiatrox - Hi, any chance you know what the |
I become happy when I see red sign on clang-format CI. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch here!
@qingling128 Thank you for your patience and your patch. Unfortunately, I don't have an (easy) way to retrigger the check. The simplest way would be to push another change to your branch. |
Just pushed some cosmetic changes to re-trigger the builds. |
@qingling128 thank you! Debian build fails with
This looks totally unrelated to the change :/ To solve that, we'll need some help from someone with permissions to fix CI. @octo @mfournier could you have a look please, or provide |
This comment has been minimized.
This comment has been minimized.
@mrunge - If the test failures are unrelated, can we disregard those failures? |
@qingling128 I would, if I could. Unfortunately, CI failures prevent merging. |
@mrunge Thanks for the clarification. Anything else I could do to move this forward? @octo @mfournier Would retrying the build help (assuming it's intermittent)? |
The issue is not intermittent, I already kicked CI and it failed again. |
The error seems to be:
And the error is exclusive to the job with I just saw this commit #3353 that disabled |
@mrunge - Looks like rebasing made the checks passed. Would you mind LGTM this one and getting it merged? |
9FC2
Thank you and sorry for having this loong delay. |
@mrunge - No worries. Thank you for the help! |
ChangeLog: Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.