The MinGW.OSDN Installation Manager Tool
Revisión | 30cd6961976ad16a9c2af8f78e77b62994e51fda (tree) |
---|---|
Tiempo | 2020-06-24 02:15:25 |
Autor | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Delete an unnecessary duplicate function call.
@@ -1,5 +1,12 @@ | ||
1 | 1 | 2020-06-23 Keith Marshall <keith@users.osdn.me> |
2 | 2 | |
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 | + | |
3 | 10 | Eliminate invalid comparisons of "this" with nullptr. |
4 | 11 | |
5 | 12 | C++ forbids calling any non-static class member function through |
@@ -102,7 +102,6 @@ count( IDD( dlg, VAL ) ), lim( IDD( dlg, MAX ) ), frac( IDD( dlg, PCT ) ) | ||
102 | 102 | */ |
103 | 103 | owner->AttachProgressMeter( this ); |
104 | 104 | SetRange( 0, 1 ); SetValue( 0 ); |
105 | - SetValue( 0 ); | |
106 | 105 | } |
107 | 106 | |
108 | 107 | #include "pmihook.cpp" |