Skip to content

Commit e1f5587

Browse files
committed
Readability of warning message
A warning like: ``` warning: source examples is not a readable file or directory... skipping. ``` is hard to understand, would be better to have: ``` warning: source 'examples' is not a readable file or directory... skipping. ```
1 parent e1d1084 commit e1f5587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doxygen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9473,7 +9473,7 @@ static int readDir(QFileInfo *fi,
94739473
{
94749474
if (errorIfNotExist)
94759475
{
9476-
warn_uncond("source %s is not a readable file or directory... skipping.\n",cfi->absFilePath().data());
9476+
warn_uncond("source '%s' is not a readable file or directory... skipping.\n",cfi->absFilePath().data());
94779477
}
94789478
}
94799479
else if (cfi->isFile() &&
@@ -9553,7 +9553,7 @@ int readFileOrDirectory(const char *s,
95539553
{
95549554
if (errorIfNotExist)
95559555
{
9556-
warn_uncond("source %s is not a readable file or directory... skipping.\n",s);
9556+
warn_uncond("source '%s' is not a readable file or directory... skipping.\n",s);
95579557
}
95589558
}
95599559
else if (!Config_getBool(EXCLUDE_SYMLINKS) || !fi.isSymLink())

0 commit comments

Comments
 (0)