-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes and and use High Sierra's <sys/snapshot.h>. (#1)
* Add compiler flags for warnings and optimization and debugging. * Fix printing of snapshot names. $ clang -Wall -Os -g -o snapUtil snapUtil.c snapUtil.c:227:14: warning: variable 'i' is uninitialized when used here [-Wuninitialized] for (int i; i < count; i++) { ^ snapUtil.c:227:12: note: initialize the variable 'i' to silence this warning for (int i; i < count; i++) { ^ = 0 * Switch to using sys/snapshot.h provided by High Sierra.
- Loading branch information
Showing
2 changed files
with
3 additions
and
98 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