Re-indent using clang-format
[elfdbg/.git] / elfdbg.c
index 4cca84e48d04e76e200929ab263ef095408dc75f..6a762e19f9b08acea30d7ef94e5796312854388e 100644 (file)
--- a/elfdbg.c
+++ b/elfdbg.c
@@ -46,7 +46,7 @@ int
 main(int argc, char *argv[])
 {
        int rc, has_debug;
-       int ch, qflag=0, vflag=0;
+       int ch, qflag = 0, vflag = 0;
        Elf_Obj *e = NULL;
        Elf_Shdr *shstr = NULL;
 
@@ -55,15 +55,15 @@ main(int argc, char *argv[])
 
        while ((ch = getopt(argc, argv, "qhv")) != -1) {
                switch (ch) {
-                       case 'q':
-                               qflag = 1;
-                               break;
-                       case 'v':
-                               vflag = 1;
-                               break;
-                       case 'h':
-                               default:
-                               usage();
+               case 'q':
+                       qflag = 1;
+                       break;
+               case 'v':
+                       vflag = 1;
+                       break;
+               case 'h':
+               default:
+                       usage();
                }
        }