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
/
release_right.c
diff --git
a/dmapi/src/suite1/cmd/release_right.c
b/dmapi/src/suite1/cmd/release_right.c
index 648619c5e4870387f707e018f3581943f29a737b..e6a92d37a23f7331dbb541c260dcba02f66880c1 100644
(file)
--- a/
dmapi/src/suite1/cmd/release_right.c
+++ b/
dmapi/src/suite1/cmd/release_right.c
@@
-76,7
+76,8
@@
main(
char *name;
int opt;
- if (Progname = strrchr(argv[0], '/')) {
+ Progname = strrchr(argv[0], '/');
+ if (Progname) {
Progname++;
} else {
Progname = argv[0];