Commit 5ab8ba9
host-libusb: Remove unused variable
Variable unconnected used in usb_host_auto_check function is only incremented
but never read as line where it is read was disabled since introducing the code.
This causes 'Unused but set variable' warning on Clang 15.0.1 compiler.
Removing the variable and disabled code to prevent the warning.
Signed-off-by: Miroslav Rezanina <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <00df0db69ff9167d38bac81f6d03281955bd861a.1668009030.git.mrezanin@redhat.com>
Signed-off-by: Thomas Huth <[email protected]>1 parent 0f48c47 commit 5ab8ba9
1 file changed
+0
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1837 | 1837 | | |
1838 | 1838 | | |
1839 | 1839 | | |
1840 | | - | |
1841 | 1840 | | |
1842 | 1841 | | |
1843 | 1842 | | |
| |||
1897 | 1896 | | |
1898 | 1897 | | |
1899 | 1898 | | |
1900 | | - | |
1901 | | - | |
1902 | | - | |
1903 | 1899 | | |
1904 | 1900 | | |
1905 | 1901 | | |
| |||
1908 | 1904 | | |
1909 | 1905 | | |
1910 | 1906 | | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
1914 | | - | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
1921 | | - | |
1922 | 1907 | | |
1923 | 1908 | | |
1924 | 1909 | | |
| |||
0 commit comments