diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2019-08-09 23:41:18 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2019-08-19 01:02:29 +0300 |
commit | 6751c9803695a2f12afb8f2cf080a4f9c2c8973a (patch) | |
tree | 96fb5e7a7c85f880080aeb154ae935de6e44b5bb /examples | |
parent | 3d94fb9aff5d2837c9ee0c13fff3d4e2424623ae (diff) |
Utilize the constraints in assertions to improve code generation
When compiling in release mode, instead of just deleting assertions,
use them to give hints to the compiler. This allows for slightly
better code generation in some cases.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dav1dplay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dav1dplay.c b/examples/dav1dplay.c index 1f418e2..faf51e7 100644 --- a/examples/dav1dplay.c +++ b/examples/dav1dplay.c @@ -27,14 +27,14 @@ #include "config.h" #include "vcs_version.h" -#include <stdio.h> +#include <getopt.h> #include <stdint.h> +#include <stdio.h> #include <string.h> -#include <assert.h> -#include <getopt.h> #include <SDL.h> +#include "common/attributes.h" #include "dav1d/dav1d.h" |