teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0096-lgtm-drop-redundant-newlines.patch

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