Browse Source

win32: sys_arch.c: prevent C99 style mixing of code and declarations

Signed-off-by: goldsimon <goldsimon@gmx.de>
master
Gisle Vanem 9 years ago committed by goldsimon
parent
commit
61f2ce5e7e
  1. 2
      ports/win32/sys_arch.c

2
ports/win32/sys_arch.c

@ -72,8 +72,8 @@ static void sys_win_rand_init(void)
DWORD err = GetLastError();
LWIP_PLATFORM_DIAG(("CryptAcquireContext failed with error %d, trying to create NEWKEYSET", (int)err));
if(!CryptAcquireContext(&hcrypt, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) {
err = GetLastError();
char errbuf[128];
err = GetLastError();
snprintf(errbuf, sizeof(errbuf), "CryptAcquireContext failed with error %d", (int)err);
LWIP_UNUSED_ARG(err);
LWIP_ASSERT(errbuf, 0);

Loading…
Cancel
Save