From 48118680cb3ecee5f4db499502c083d309177552 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 May 2005 07:55:02 +0000 Subject: r6953: Many compilers in the build farm don't like static variables initialized with strlen(..). Jerry, I think this needs another fix. I just want to make the build farm happy. Not merging to trunk, this needs further looking at. Volker (This used to be commit 4f36e4f4343e56842affa8de495c2258f5d971ad) --- source3/registry/reg_printing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c index a7a89fdc34..d0de24b7d8 100644 --- a/source3/registry/reg_printing.c +++ b/source3/registry/reg_printing.c @@ -55,9 +55,9 @@ static char* trim_reg_path( char *path ) uint16 key_len = strlen(path); uint16 base_key_len; - static int key_printing_len = strlen( KEY_PRINTING ); - static int key_printing2k_len = strlen( KEY_PRINTING_2K ); - static int key_printing_ports_len = strlen( KEY_PRINTING_PORTS ); + int key_printing_len = strlen( KEY_PRINTING ); + int key_printing2k_len = strlen( KEY_PRINTING_2K ); + int key_printing_ports_len = strlen( KEY_PRINTING_PORTS ); -- cgit