[epiphany] Disable invalid clang static analyzer bug message in snapshot service



commit 8b926fa5bc9af0d69988b7225f29442ef669bd10
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sat Jan 4 00:01:30 2020 +0100

    Disable invalid clang static analyzer bug message in snapshot service

 lib/ephy-snapshot-service.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index a8a06b5ae..fa3063b10 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -676,6 +676,7 @@ got_snapshot_path_for_url (EphySnapshotService *service,
                            GAsyncResult        *result,
                            GTask               *task)
 {
+#ifndef __clang_analyzer__
   SnapshotAsyncData *data = g_task_get_task_data (task);
   char *path;
 
@@ -687,6 +688,7 @@ got_snapshot_path_for_url (EphySnapshotService *service,
   } else {
     ephy_snapshot_service_take_from_webview (task);
   }
+#endif
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]