]> source.dussan.org Git - tigervnc.git/commit
Avoid shadowing variables
authorPierre Ossman <ossman@cendio.se>
Sun, 21 Apr 2024 00:18:22 +0000 (02:18 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 24 Jun 2024 12:22:35 +0000 (14:22 +0200)
commit12b3f4021641537b90727b23d42de5dff59006cd
treed494cda8c019a53989099a44b05aca2e0a4fff8a
parent4a71ac5bb79e3cd53499255f231c490fc9a5627b
Avoid shadowing variables

It's a source of confusion and possibly bugs to reuse the same variable
name for multiple things.
68 files changed:
CMakeLists.txt
common/network/Socket.cxx
common/network/TcpSocket.cxx
common/network/UnixSocket.cxx
common/os/Mutex.cxx
common/rdr/AESInStream.cxx
common/rdr/BufferedOutStream.cxx
common/rdr/Exception.cxx
common/rfb/CConnection.cxx
common/rfb/CMsgReader.cxx
common/rfb/CSecurityDH.cxx
common/rfb/CSecurityMSLogonII.cxx
common/rfb/CSecurityNone.h
common/rfb/CSecurityPlain.h
common/rfb/CSecurityRSAAES.cxx
common/rfb/CSecurityStack.cxx
common/rfb/CSecurityTLS.cxx
common/rfb/CSecurityVeNCrypt.cxx
common/rfb/CSecurityVncAuth.h
common/rfb/Configuration.cxx
common/rfb/Cursor.cxx
common/rfb/DecodeManager.cxx
common/rfb/Decoder.cxx
common/rfb/H264Decoder.cxx
common/rfb/H264WinDecoderContext.cxx
common/rfb/HextileDecoder.cxx
common/rfb/HextileEncoder.cxx
common/rfb/RREEncoder.cxx
common/rfb/RawEncoder.cxx
common/rfb/SConnection.cxx
common/rfb/SSecurityNone.h
common/rfb/SSecurityPlain.cxx
common/rfb/SSecurityRSAAES.cxx
common/rfb/SSecurityStack.cxx
common/rfb/SSecurityTLS.cxx
common/rfb/SSecurityVeNCrypt.cxx
common/rfb/SSecurityVncAuth.cxx
common/rfb/TightEncoder.cxx
common/rfb/TightJPEGEncoder.cxx
common/rfb/VNCServerST.cxx
common/rfb/ZRLEEncoder.cxx
tests/perf/encperf.cxx
tests/unit/pixelformat.cxx
unix/tx/TXDialog.h
unix/vncconfig/QueryConnectDialog.cxx
unix/vncconfig/vncconfig.cxx
vncviewer/DesktopWindow.cxx
vncviewer/MonitorIndicesParameter.cxx
vncviewer/MonitorIndicesParameter.h
vncviewer/OptionsDialog.cxx
vncviewer/ServerDialog.cxx
vncviewer/Surface.h
vncviewer/Surface_OSX.cxx
vncviewer/Surface_Win32.cxx
vncviewer/Surface_X11.cxx
vncviewer/UserDialog.cxx
vncviewer/Viewport.cxx
vncviewer/Win32TouchHandler.cxx
vncviewer/XInputTouchHandler.cxx
vncviewer/vncviewer.cxx
win/rfb_win32/DeviceFrameBuffer.cxx
win/rfb_win32/Dialog.cxx
win/rfb_win32/Registry.cxx
win/rfb_win32/Service.cxx
win/rfb_win32/SocketManager.cxx
win/vncconfig/vncconfig.cxx
win/winvnc/VNCServerWin32.cxx
win/wm_hooks/wm_hooks.cxx