Michael Stefaniuc : mstask: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Mon Mar 25 16:54:56 CDT 2019


Module: wine
Branch: master
Commit: b7f5e4ae5f635df05a1dc7ba426540e285d46648
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b7f5e4ae5f635df05a1dc7ba426540e285d46648

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Sun Mar 24 14:26:43 2019 +0100

mstask: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mstask/task.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mstask/task.c b/dlls/mstask/task.c
index 9a39fc9..6ab9263 100644
--- a/dlls/mstask/task.c
+++ b/dlls/mstask/task.c
@@ -345,7 +345,7 @@ static HRESULT WINAPI MSTASK_ITask_CreateTrigger(ITask *iface, WORD *idx, ITaskT
     new_trigger->wStartHour = time.wHour;
     new_trigger->wStartMinute = time.wMinute;
     new_trigger->rgFlags = TASK_TRIGGER_FLAG_DISABLED;
-    new_trigger->TriggerType = TASK_TIME_TRIGGER_DAILY,
+    new_trigger->TriggerType = TASK_TIME_TRIGGER_DAILY;
     new_trigger->Type.Daily.DaysInterval = 1;
 
     *idx = This->trigger_count++;




More information about the wine-cvs mailing list