viz-dot: remove unused members from dot
authorMatthias Maennich via libabigail <libabigail@sourceware.org>
Mon, 15 Apr 2019 17:05:18 +0000 (18:05 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 16 Apr 2019 14:11:01 +0000 (16:11 +0200)
_M_canvas and _M_typo are unused within "dot". Remove them and all
references.

 * include/abg-viz-dot.h: remove unused data members from 'dot'

Signed-off-by: Matthias Maennich <maennich@google.com>
include/abg-viz-dot.h

index a75d868..660862d 100644 (file)
@@ -111,17 +111,13 @@ struct dot
 private:
 
   const std::string            _M_title;
-  const canvas&                _M_canvas;
-  const typography&            _M_typo;        
 
   std::ostringstream           _M_sstream;
   
 public:
 
-  dot(const std::string &__title,
-      const canvas& __cv = ansi_letter_canvas,
-      const typography& __typo = arial_typo) 
-  : _M_title(__title), _M_canvas(__cv), _M_typo(__typo)
+  dot(const std::string &__title)
+  : _M_title(__title)
   { }
   
   // Empty when the output buffer is.