[PATCH 4/4] downloadfromdivecomputer.h: remove a forward declaration

Lubomir I. Ivanov neolit123 at gmail.com
Wed Dec 11 05:26:50 UTC 2013


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

The forward declaration of 'struct device_data_t' is not
needed as it already comes from '../libdivecomputer.h'.

Reported by the program cppcheck.

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
 qt-ui/downloadfromdivecomputer.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 2c411cf..725dc78 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -8,8 +8,6 @@
 #include "../libdivecomputer.h"
 #include "ui_downloadfromdivecomputer.h"
 
-struct device_data_t;
-
 class DownloadThread : public QThread{
 	Q_OBJECT
 public:
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list