summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-11-29 15:37:23 -0500
committerShyamsundarR <srangana@redhat.com>2018-11-29 15:41:07 -0500
commite74d997f0d7eeb91fe6b5f0f0c3969bf4ac53f9f (patch)
tree50e3e9fcda91efbf54bb30d2083595363c58cd6a /xlators/protocol/client
parent95e380eca19b9f0d03a53429535f15556e5724ad (diff)
clang: Fix clang warnings in snapview-server.c
The warning by clang is due to the fact that we check for frame->root to be NULL, but in stack unwind, we ignore the same. If frame is non-NULL then frame->root is non-NULL as frame creation ensures this. Further, across the code we do not check both frame and frame->root for validity. Hence to fix these clang issues, removing the check for frame->root in the various functions. NOTE: Initially clang reported 14 issues in the file, but post commit 6eabefe6 the number reduced to 4, unsure why as that commit does not address this issue. Change-Id: I04b63f2d006a1f95773aae9f904b4bd3d5118e62 Updates: bz#1622665 Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
0 files changed, 0 insertions, 0 deletions