From 6aed7643e4979d99ec9feb4959af653460b1417c Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Wed, 1 Jun 2011 17:31:20 +0200 Subject: [PATCH] Poliqarp header C++ compatibility: do not use C99 struct initializers --- poliqarp-library/sakura/exception.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/poliqarp-library/sakura/exception.h b/poliqarp-library/sakura/exception.h index b7e64cf..b1baf4e 100644 --- a/poliqarp-library/sakura/exception.h +++ b/poliqarp-library/sakura/exception.h @@ -36,8 +36,7 @@ struct poliqarp_error { }; static const struct poliqarp_error poliqarp_error_none = { - .message = NULL, - .malloced = false + NULL, false }; const char *poliqarp_error_message_get(const struct poliqarp_error *); -- GitLab