Removed nop() macro.

committer: mfx <mfx> 979746778 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-01-17 15:52:58 +00:00
parent afc55d76e7
commit 4a52be76fe
2 changed files with 5 additions and 11 deletions
+5 -4
View File
@@ -77,13 +77,14 @@ void do_one_file(const char *iname, char *oname)
throwIOException("empty file -- skipped");
if ((st.st_mode & S_IWUSR) == 0)
{
bool skip = true;
if (opt->output_name)
nop;
skip = false;
else if (opt->to_stdout)
nop;
skip = false;
else if (opt->backup)
nop;
else
skip = false;
if (skip)
throwIOException("file is write protected -- skipped");
}