Commit bfdf78c4 authored by Alois Klink's avatar Alois Klink Committed by Andreas Schneider
Browse files

cmake: disable `-Wdeclaration-after-statement`

Disable `-Wdeclaration-after-statement`.

Before ISO C99, declaring variables after statements was not allowed
by the C standard, but was allowed by GCC as an extension.

CMocka now requires a minimum version of C99,
since commit 5a4b1587

, so this
behaviour is valid on all compilers.

on-behalf-of: @nqminds <info@nqminds.com>

Reviewed-by: default avatarAndreas Schneider <asn@cryptomilk.org>
parent baf22488
Supports Markdown
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