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 (2)
[xfstests-dev.git]
/
dmapi
/
src
/
suite1
/
cmd
/
path_to_handle.c
diff --git
a/dmapi/src/suite1/cmd/path_to_handle.c
b/dmapi/src/suite1/cmd/path_to_handle.c
index 2263cb52fa4dbcb71fc6fb45effab840a31a8812..546415c1c558d18826c4c6dd99c668576376e718 100644
(file)
--- a/
dmapi/src/suite1/cmd/path_to_handle.c
+++ b/
dmapi/src/suite1/cmd/path_to_handle.c
@@
-55,7
+55,8
@@
main(
size_t hlen;
char buffer[100];
- if (Progname = strrchr(argv[0], '/')) {
+ Progname = strrchr(argv[0], '/');
+ if (Progname) {
Progname++;
} else {
Progname = argv[0];