• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-get: Commit

The MinGW.OSDN Installation Manager Tool


Commit MetaInfo

Revisión30cd6961976ad16a9c2af8f78e77b62994e51fda (tree)
Tiempo2020-06-24 02:15:25
AutorKeith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Delete an unnecessary duplicate function call.

Cambiar Resumen

Diferencia incremental

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
11 2020-06-23 Keith Marshall <keith@users.osdn.me>
22
3+ Delete an unnecessary duplicate function call.
4+
5+ * src/guiexec.cpp (PROGRESS_METER_CLASS): In constructor, call...
6+ (SetValue): ...this only once; delete redundant second call.
7+
8+2020-06-23 Keith Marshall <keith@users.osdn.me>
9+
310 Eliminate invalid comparisons of "this" with nullptr.
411
512 C++ forbids calling any non-static class member function through
--- a/src/guiexec.cpp
+++ b/src/guiexec.cpp
@@ -102,7 +102,6 @@ count( IDD( dlg, VAL ) ), lim( IDD( dlg, MAX ) ), frac( IDD( dlg, PCT ) )
102102 */
103103 owner->AttachProgressMeter( this );
104104 SetRange( 0, 1 ); SetValue( 0 );
105- SetValue( 0 );
106105 }
107106
108107 #include "pmihook.cpp"
Show on old repository browser