From ec4a9b7ce1038a9a551f4b447de3c88cb57f3e0d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 21 Dec 2007 01:00:04 +0000 Subject: [PATCH] Minor initialization change to not trigger bogus gcc warning about passing literal strings to the constructors of string. --- sbin/devd/devd.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh index a1ee9cd595d5..32d98a2a22b1 100644 --- a/sbin/devd/devd.hh +++ b/sbin/devd/devd.hh @@ -143,7 +143,7 @@ private: class config { public: - config() : _pidfile("") { push_var_table(); } + config() { _pidfile = ""; push_var_table(); } virtual ~config() { reset(); } void add_attach(int, event_proc *); void add_detach(int, event_proc *);