GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit 2a5d6d19 authored by Robert Sprowson's avatar Robert Sprowson

Missing va_end()'s added

Version 0.13. Tagged as 'DWCDriver-0_13'
parent 5813ed56
/* (0.12)
/* (0.13)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.12
#define Module_MajorVersion_CMHG 0.13
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 29 Apr 2014
#define Module_Date_CMHG 06 May 2014
#define Module_MajorVersion "0.12"
#define Module_Version 12
#define Module_MajorVersion "0.13"
#define Module_Version 13
#define Module_MinorVersion ""
#define Module_Date "29 Apr 2014"
#define Module_Date "06 May 2014"
#define Module_ApplicationDate "29-Apr-14"
#define Module_ApplicationDate "06-May-14"
#define Module_ComponentName "DWCDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/DWCDriver"
#define Module_FullVersion "0.12"
#define Module_HelpVersion "0.12 (29 Apr 2014)"
#define Module_LibraryVersionInfo "0:12"
#define Module_FullVersion "0.13"
#define Module_HelpVersion "0.13 (06 May 2014)"
#define Module_LibraryVersionInfo "0:13"
......@@ -76,6 +76,7 @@ void __DWC_WARN(char *format,...)
va_list a;
va_start(a,format);
dvprintf(("",format,a));
va_end(a);
}
void __DWC_ERROR(char *format,...)
......@@ -83,6 +84,7 @@ void __DWC_ERROR(char *format,...)
va_list a;
va_start(a,format);
dvprintf(("",format,a));
va_end(a);
}
#ifdef DEBUG
......@@ -92,6 +94,7 @@ void DWC_EXCEPTION(char *format,...)
va_list a;
va_start(a,format);
dvprintf(("",format,a));
va_end(a);
_swix(0x531C1,0); /* DADebug_Print */
/* Halt */
while(1) {};
......@@ -102,6 +105,7 @@ void __DWC_DEBUG(char *format,...)
va_list a;
va_start(a,format);
dvprintf(("",format,a));
va_end(a);
}
#endif
......@@ -556,6 +560,7 @@ void DWC_WORKQ_SCHEDULE(dwc_workq_t *workq, dwc_work_callback_t work_cb, void *d
vsnprintf(buf,sizeof(buf),format,a);
else
buf[0] = 0;
va_end(a);
struct dwc_workq_entry *e = DWC_ALLOC(sizeof(struct dwc_workq_entry)+strlen(buf)+1);
if(!e)
return;
......@@ -593,6 +598,7 @@ void DWC_WORKQ_SCHEDULE_DELAYED(dwc_workq_t *workq, dwc_work_callback_t work_cb,
vsnprintf(buf,sizeof(buf),format,a);
else
buf[0] = 0;
va_end(a);
struct dwc_workq_entry *e = DWC_ALLOC(sizeof(struct dwc_workq_entry)+strlen(buf)+1);
if(!e)
return;
......
......@@ -145,4 +145,5 @@ void logprintf (char* format, ...)
va_list p;
va_start (p, format);
dvprintf (("Log", format, p));
va_end (p);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment