projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfstests: eliminate warnings under dmapi/src/suite1/cmd (3)
[xfstests-dev.git]
/
dmapi
/
src
/
suite1
/
cmd
/
remove_dmattr.c
diff --git
a/dmapi/src/suite1/cmd/remove_dmattr.c
b/dmapi/src/suite1/cmd/remove_dmattr.c
index 3a82b5115c4e66b16cfaa011aaf5012c9e82de6d..865898d489beb3ba0e3dc189310bf7bee14c681f 100644
(file)
--- a/
dmapi/src/suite1/cmd/remove_dmattr.c
+++ b/
dmapi/src/suite1/cmd/remove_dmattr.c
@@
-65,7
+65,8
@@
main(
char *name;
int opt;
- if (Progname = strrchr(argv[0], '/')) {
+ Progname = strrchr(argv[0], '/');
+ if (Progname) {
Progname++;
} else {
Progname = argv[0];