From e73c3c53ffb9ce681fe712142143777eaf50da47 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 1 Mar 2012 00:02:29 +0900 Subject: Fixed clang warning and errors. Test for the zero-length array with A2_ARRAY_LEN was commented out since it is only used in unit test code and clang and old gcc 3.4.3 emit error. --- src/ParserStateMachine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ParserStateMachine.h') diff --git a/src/ParserStateMachine.h b/src/ParserStateMachine.h index abd07b32..5d0c08d2 100644 --- a/src/ParserStateMachine.h +++ b/src/ParserStateMachine.h @@ -42,7 +42,7 @@ namespace aria2 { -class XmlAttr; +struct XmlAttr; class ParserStateMachine { public: -- cgit