Eliminate the compile warning of demo codes
1. Remove the unused varaibles.
2. Use the right format symbol "llu" instead of "lu" for 64 bits integer.
3. Add the -Werror compile flag.