Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fafbd329 authored by Stephen Hines's avatar Stephen Hines Committed by Android Git Automerger
Browse files

am ba1552bd: Merge "Clarify the strcmp() with the empty string."

* commit 'ba1552bd':
  Clarify the strcmp() with the empty string.
parents 8d49c8b0 ba1552bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ int list_devices_callback(usb_ifc_info *info)
        // output compatible with "adb devices"
        if (!long_listing) {
            printf("%s\tfastboot\n", serial);
        } else if (!strcmp("", info->device_path)) {
        } else if (strcmp("", info->device_path) == 0) {
            printf("%-22s fastboot\n", serial);
        } else {
            printf("%-22s fastboot %s\n", serial, info->device_path);