ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
ff6046
From d26406cc3f2c186691ce0a09052d3c39d15cc722 Mon Sep 17 00:00:00 2001
ff6046
From: Evgeny Vereshchagin <evvers@ya.ru>
ff6046
Date: Fri, 26 Oct 2018 10:25:36 +0000
ff6046
Subject: [PATCH] lgtm: drop redundant newlines
ff6046
ff6046
(cherry picked from commit 845702c63863add5606a7a7f00a959ffdcf89635)
ff6046
---
ff6046
 .lgtm/cpp-queries/fgets.ql | 2 --
ff6046
 1 file changed, 2 deletions(-)
ff6046
ff6046
diff --git a/.lgtm/cpp-queries/fgets.ql b/.lgtm/cpp-queries/fgets.ql
ff6046
index 82de8c4482..a4181e4f3d 100644
ff6046
--- a/.lgtm/cpp-queries/fgets.ql
ff6046
+++ b/.lgtm/cpp-queries/fgets.ql
ff6046
@@ -10,13 +10,11 @@
ff6046
  */
ff6046
 import cpp
ff6046
 
ff6046
-
ff6046
 predicate dangerousFunction(Function function) {
ff6046
   exists (string name | name = function.getQualifiedName() |
ff6046
     name = "fgets")
ff6046
 }
ff6046
 
ff6046
-
ff6046
 from FunctionCall call, Function target
ff6046
 where call.getTarget() = target
ff6046
   and dangerousFunction(target)