Mercurial > hg > octave-jordi
diff libcruft/misc/lo-error.cc @ 533:883197c5ad75
[project @ 1994-07-20 20:02:51 by jwe]
author | jwe |
---|---|
date | Wed, 20 Jul 1994 20:02:51 +0000 |
parents | 780cbbc57b7c |
children | 18933dbd5e43 |
line wrap: on
line diff
--- a/libcruft/misc/lo-error.cc +++ b/libcruft/misc/lo-error.cc @@ -1,7 +1,7 @@ // error.cc -*- C++ -*- /* -Copyright (C) 1992, 1993 John W. Eaton +Copyright (C) 1992, 1993, 1994 John W. Eaton This file is part of Octave. @@ -36,7 +36,7 @@ static void verror (const char *name, const char *fmt, va_list args) { - if (name != (char *) NULL) + if (name) fprintf (stderr, "%s: ", name); vfprintf (stderr, fmt, args);