- a few more uninitialized variables
- make variables local to a single file static
- replace use of WT_UNUSED_RET with error checking of the call (the
macro was using a GCC extension clang doesn't like)
With these changes, clang is mostly silent using the following options:
-Weverything
-Wno-cast-align
-Wno-conversion
-Wno-covered-switch-default
-Wno-documentation-unknown-command
-Wno-format-nonliteral
-Wno-language-extension-token
-Wno-missing-noreturn
-Wno-packed
-Wno-padded
-Wno-switch-enum
-Wno-zero-length-array
Also, minor KNF whitespace cleanups.
isn't good, we'll drop core if they ever fire, not a good thing in a
sample program. Add boilerplate to the examples, if we don't have an
evironment specified by "make check", create a clean standard one and
use it.
Change the copyright check script to always use the current year.
Change the example code copyright notices to document them as freeware,
anybody using WiredTiger example code is free to use it in any way they
choose, including commercially, WiredTiger claims no rights in such a
copy.
Minor re-ordering of the standard copyright notice so the preamble is
always the copyright notice itself, not the mention of the LICENSE file.