diff options
author | Gaël Bonithon <gael@xfce.org> | 2021-12-10 12:05:04 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2021-12-11 07:42:49 +0100 |
commit | 11574c22e9f1e56d2d64860e40f1582e3c82655a (patch) | |
tree | 27ef4aeab04022c6b6d120652d528cde86a0b9fe /tumblerd | |
parent | 327d0f6b2e6c61f55ec688dde7ce558d58ea3a19 (diff) | |
download | tumbler-11574c22e9f1e56d2d64860e40f1582e3c82655a.tar.gz |
Fix warnings from scan-build (Clang 13.0)
Diffstat (limited to 'tumblerd')
-rw-r--r-- | tumblerd/tumbler-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tumblerd/tumbler-service.c b/tumblerd/tumbler-service.c index 108f0eb..f9c9118 100644 --- a/tumblerd/tumbler-service.c +++ b/tumblerd/tumbler-service.c @@ -752,7 +752,7 @@ tumbler_service_queue_cb (TumblerExportedService *skeleton, /* default to the first scheduler in the list if we couldn't find * the scheduler with the desired name */ - if (scheduler == NULL) + if (scheduler == NULL && service->schedulers != NULL) scheduler = TUMBLER_SCHEDULER (service->schedulers->data); /* report unsupported flavors back to the client */ |