From 71f57a2fb12914c8f911e7c4e919c521dd3c6407 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 21 Dec 2007 01:00:04 +0000 Subject: 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(-) (limited to 'sbin') diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh index a1ee9cd..32d98a2 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 *); -- cgit v1.1