File: unused-variable.patch

package info (click to toggle)
signon-plugin-oauth2 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 360 kB
  • ctags: 286
  • sloc: cpp: 3,085; xml: 36; makefile: 15; ansic: 9
file content (14 lines) | stat: -rw-r--r-- 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Diane Trout <diane@debian.org>
Description: Remove allocating an unused data pointer.
 The more picky Debian build environment made this an error.
--- a/src/base-plugin.cpp
+++ b/src/base-plugin.cpp
@@ -171,8 +171,6 @@
 bool BasePlugin::handleNetworkError(QNetworkReply *reply,
                                     QNetworkReply::NetworkError err)
 {
-    Q_D(BasePlugin);
-
     /* Has been handled by handleSslErrors already */
     if (err == QNetworkReply::SslHandshakeFailedError) {
         return true;