Navigation Menu

Skip to content

Commit

Permalink
* all: Fix compiler warnings caused by va_start() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
spdawson committed Mar 26, 2014
1 parent 87321e1 commit d5a5d55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rss/Feed.cpp
Expand Up @@ -2,7 +2,7 @@
RSS Feed
Copyright (c) 2000-2011 Andrew Wedgbury <wedge@sconemad.com>
Copyright (c) 2000-2014 Andrew Wedgbury <wedge@sconemad.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -38,7 +38,7 @@ Free Software Foundation, Inc.,
void RSSFeed_ErrorHandler(void* vcx,const char* str,...)
{
va_list vl;
va_start(vl,1);
va_start(vl,str);
char* msg = va_arg(vl,char*);
va_end(vl);

Expand Down
4 changes: 2 additions & 2 deletions sconesite/XMLDoc.cpp
Expand Up @@ -2,7 +2,7 @@
Sconesite XML document
Copyright (c) 2000-2009 Andrew Wedgbury <wedge@sconemad.com>
Copyright (c) 2000-2014 Andrew Wedgbury <wedge@sconemad.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -60,7 +60,7 @@ bool XMLAttr_bool(NodeAttrs& attrs, const std::string& value, bool def)
void ErrorHandler(void* vcx,const char* str,...)
{
va_list vl;
va_start(vl,1);
va_start(vl,str);
char* msg = va_arg(vl,char*);
va_end(vl);

Expand Down

0 comments on commit d5a5d55

Please sign in to comment.