Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent a9d43dc commit b78eea9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dird/ua_select.c
Expand Up @@ -1249,13 +1249,12 @@ alist *select_jobs(UAContext *ua, const char *reason)
/*
* Set selection criterium.
*/
selection_criterium = none;
if (select_all) {
selection_criterium = all_jobs;
} else {
i = find_arg_with_value(ua, NT_("state"));
if (i > 0) {
selection_criterium = none;

if (bstrcasecmp(ua->argv[i], NT_("created"))) {
selection_criterium = created_jobs;
}
Expand Down

0 comments on commit b78eea9

Please sign in to comment.