From 43d81169f605981ece557cd6885e36319ae58f16 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 26 Nov 2010 18:03:41 +0100 Subject: [PATCH] Use initializer list for member initialization --- src/fonts.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/fonts.h b/src/fonts.h index bacdffa6..20052a3a 100644 --- a/src/fonts.h +++ b/src/fonts.h @@ -48,13 +48,11 @@ struct font_list { #endif font_list() - : name(), font(NULL) + : name(), font(NULL), fontset(NULL) #ifdef BUILD_XFT , xftfont(NULL), font_alpha(0xffff) #endif - { - fontset = NULL; - } + {} }; #ifdef BUILD_XFT