Andrew Talbot : comctl32: void functions should not return a value.

Alexandre Julliard julliard at winehq.org
Mon Aug 22 13:29:04 CDT 2011


Module: wine
Branch: master
Commit: 8a4b7f9f22ac74605384784b507b5c8f2a9e3274
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8a4b7f9f22ac74605384784b507b5c8f2a9e3274

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Aug  6 12:51:11 2011 +0100

comctl32: void functions should not return a value.

---

 dlls/comctl32/monthcal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 27d2cf0..2ad4812 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -481,13 +481,13 @@ static inline void MONTHCAL_GetMonth(SYSTEMTIME *date, INT months)
 /* properly updates date to point on next month */
 static inline void MONTHCAL_GetNextMonth(SYSTEMTIME *date)
 {
-  return MONTHCAL_GetMonth(date, 1);
+  MONTHCAL_GetMonth(date, 1);
 }
 
 /* properly updates date to point on prev month */
 static inline void MONTHCAL_GetPrevMonth(SYSTEMTIME *date)
 {
-  return MONTHCAL_GetMonth(date, -1);
+  MONTHCAL_GetMonth(date, -1);
 }
 
 /* Returns full date for a first currently visible day */




More information about the wine-cvs mailing list