diff options
| author | Matthew Williams <[email protected]> | 2021-11-08 16:08:04 -0800 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2021-11-09 10:24:37 -0800 |
| commit | d3ec258921cfcef7b053b5a2c866330d43dd3f03 (patch) | |
| tree | df3306e8d0b44f00fa48afcf9eeee42e751a8ff2 | |
| parent | 0cf2d71b0bf876e8da6cd9338b48b203c92a6b1d (diff) | |
Initialize local variables
| -rw-r--r-- | usb/usbview/uvcview.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usb/usbview/uvcview.c b/usb/usbview/uvcview.c index fb2e1f0c..ac5af7b6 100644 --- a/usb/usbview/uvcview.c +++ b/usb/usbview/uvcview.c @@ -803,7 +803,7 @@ CreateMainWindow ( int nCmdShow ) { - RECT rc; + RECT rc = { 0 }; InitCommonControls(); @@ -849,10 +849,10 @@ ResizeWindows ( int BarLocation ) { - RECT MainClientRect; - RECT MainWindowRect; - RECT TreeWindowRect; - RECT StatusWindowRect; + RECT MainClientRect = { 0 }; + RECT MainWindowRect = { 0 }; + RECT TreeWindowRect = { 0 }; + RECT StatusWindowRect = { 0 }; int right; // Is the user moving the bar? |
