Let’s assume that author makes source code of program publicly available. Every file has single-line copyright header “Copyright (c) <Owner>. All rights reserved,”. Nothing is explicitly allowed; no rights are explicitly granted.
Is it possible to sue if<owner> if something wrong with the program? Does it make sense to add standard warranty disclaimer “software provided as-is...”?
Is it going without saying: if nothing is allowed, then no warranties are provided?
Update:
For context: I'm author of the source code, I'd like to make code available for inspection purposes, protect myself from any possible legal risks, and don't put huge effort\resources on writing full-fledged proprietary license agreement. This is temporary approach and I don't have expertise to write any legal documents myself.