If each if conditions are all fail, variable retval will under uninitlized
Attach a file by drag & drop or click to upload