-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: Rename ASSERT to iio_ASSERT
Both Coverity and Codacy assume that ASSERT macros are turned off during release builds of applications. This would cause significiant problems in the examples where we do things like: ASSERT((ctx = iio_create_default_context()) && "No context"); if the ASSERT was to get removed, ctx would never be set, and the application would crash. So, rename things, so everyone knows those are not optional. Signed-off-by: Robin Getz <[email protected]>
- Loading branch information
Showing
3 changed files
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters