[tracker-miners/wip/carlosg/coverity-fixes: 10/16] tracker-miner-rss: Remove needless check
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/coverity-fixes: 10/16] tracker-miner-rss: Remove needless check
- Date: Tue, 15 Sep 2020 14:30:40 +0000 (UTC)
commit f8bc2dd58ab6e17fae92ea026a0bddcbafd1531e
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Sep 7 18:42:20 2020 +0200
tracker-miner-rss: Remove needless check
This confuses Coverity into thinking domain_ontology might be NULL,
while it does not.
CID: #354744
src/miners/rss/tracker-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/miners/rss/tracker-main.c b/src/miners/rss/tracker-main.c
index 225c46615..87a8dc605 100644
--- a/src/miners/rss/tracker-main.c
+++ b/src/miners/rss/tracker-main.c
@@ -273,7 +273,7 @@ main (int argc, char **argv)
loop = g_main_loop_new (NULL, FALSE);
- if (domain_ontology && domain_ontology_name) {
+ if (domain_ontology_name) {
/* If we are running for a specific domain, we tie the lifetime of this
* process to the domain. For example, if the domain name is
* org.example.MyApp then this tracker-miner-rss process will exit as
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]