]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #2089 compiler warning
authorMartin Simmons <martin@lispworks.com>
Thu, 7 Aug 2014 07:58:26 +0000 (09:58 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 7 Aug 2014 07:58:26 +0000 (09:58 +0200)
bacula/src/lib/dlist.h

index 4c28fc0b96dae185e3a9dad5f12a210e76ab03f7..1f7f2bdae65884b1bc873a9a95ecf5e40c931f62 100644 (file)
@@ -190,6 +190,7 @@ class dlistString
 {
 public:
    char *c_str() { return m_str; };
+   dlink get_link() { return m_link; }; /* eliminate clang compiler warning */
 
 private:
    dlink m_link;