~ubuntu-branches/ubuntu/utopic/thermald/utopic

« back to all changes in this revision

Viewing changes to debian/patches/0023-thd_model.cpp-remove-ununsed-variable-file.patch

  • Committer: Package Import Robot
  • Author(s): Colin King
  • Date: 2014-05-19 12:41:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140519124122-zan11arvjxtbqcq5
Tags: 1.2-1
* Adjust for coretemp path change
* Deny non root users to send system bus dbus messages
* Remove compile warning
* Remove rpmlint warning for manual page
* Remove old patches that are now included into version 1.2
* Sync up with version 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From e16af9b79c7e2967e6d4b4436595517708fa4918 Mon Sep 17 00:00:00 2001
2
 
From: Colin Ian King <colin.king@canonical.com>
3
 
Date: Mon, 10 Mar 2014 13:09:56 +0000
4
 
Subject: [PATCH 23/28] thd_model.cpp: remove ununsed variable 'file'
5
 
 
6
 
variable 'file' is not used in store_set_point() so remove it
7
 
 
8
 
Signed-off-by: Colin Ian King <colin.king@canonical.com>
9
 
---
10
 
 src/thd_model.cpp | 1 -
11
 
 1 file changed, 1 deletion(-)
12
 
 
13
 
diff --git a/src/thd_model.cpp b/src/thd_model.cpp
14
 
index 0b01512..8820386 100644
15
 
--- a/src/thd_model.cpp
16
 
+++ b/src/thd_model.cpp
17
 
@@ -187,7 +187,6 @@ void cthd_model::add_sample(int temperature) {
18
 
 
19
 
 void cthd_model::store_set_point() {
20
 
        std::stringstream filename;
21
 
-       std::ofstream file;
22
 
 
23
 
        filename << TDRUNDIR << "/" << "thermal_set_point." << zone_type << "."
24
 
                        << "conf";
25
 
1.9.0
26