[Powertop] [PATCH 22/29] report: cleanup csv title and unused vars

Alexandra Yates <alexandra.yates at linux.intel.com>
Newsgroups dev.linux.lists.powertop
Message-ID <1383168080-18233-23-git-send-email-alexandra.yates@linux.intel.com>
Removed old csv headder to avoid redundancy. Removed unused variables
from report.cpp str2 and str3.

Signed-off-by: Alexandra Yates <alexandra.yates(a)linux.intel.com>
---
 src/report/report-formatter-csv.cpp |    2 +-
 src/report/report.cpp               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/report/report-formatter-csv.cpp b/src/report/report-formatter-csv.cpp
index facdd4d..0ab1091 100644
--- a/src/report/report-formatter-csv.cpp
+++ b/src/report/report-formatter-csv.cpp
@@ -57,7 +57,7 @@ report_formatter_csv::finish_report()
 void
 report_formatter_csv::add_doc_header()
 {
-	add_header(report_csv_header, 1);
+	/*add_header(report_csv_header, 1);*/
 }
 
 /* ************************************************************************ */
diff --git a/src/report/report.cpp b/src/report/report.cpp
index de1c000..2fb6952 100644
--- a/src/report/report.cpp
+++ b/src/report/report.cpp
@@ -100,7 +100,7 @@ static string read_os_release(const string &filename)
 
 static void system_info(void)
 {
-	string str, str2, str3;
+	string str;
 
 	/* div attr css_class and css_id */
 	tag_attr div_attr;
-- 
1.7.9.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.