spotted by indent:
./kpartx/gpt.c:623: Warning:old style assignment ambiguity in "=-". Assuming "= 
-"

Cc: Martin Wilck <[email protected]>
Cc: Benjamin Marzinski <[email protected]>
Cc: Christophe Varoqui <[email protected]>
Cc: DM-DEVEL ML <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 kpartx/gpt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kpartx/gpt.c b/kpartx/gpt.c
index 47d8743e..fbf6ae22 100644
--- a/kpartx/gpt.c
+++ b/kpartx/gpt.c
@@ -606,7 +606,7 @@ read_gpt_pt (int fd, __attribute__((unused)) struct slice 
all,
        gpt_entry *ptes = NULL;
        unsigned int i;
        int n = 0;
-       int last_used_index=-1;
+       int last_used_index = -1;
        int sector_size_mul = get_sector_size(fd)/512;
 
        if (!find_valid_gpt (fd, &gpt, &ptes) || !gpt || !ptes) {
-- 
2.43.0


Reply via email to