Opened 9 years ago

Closed 9 years ago

#120 closed patch (fixed)

daemon_win32.cpp: duplicated assignment

Reported by: nikai Owned by: Christian Franke
Priority: trivial Milestone: Release 5.41
Component: all Version: 5.40
Keywords: windows Cc:

Description

Hi there!

I noticed a duplicated assignment.

Best regards,
Nicolas Kaiser
---

--- a/os_win32/daemon_win32.cpp	2010-01-28 21:24:31.000000000 +0100
+++ b/os_win32/daemon_win32.cpp	2010-11-10 21:08:04.829636033 +0100
@@ -525,7 +525,7 @@ int daemon_messagebox(int system, const 
 	mb.mode = MB_OK|MB_ICONWARNING
 	         |(svc_mode?MB_SERVICE_NOTIFICATION:0)
 	         |(system?MB_SYSTEMMODAL:MB_APPLMODAL);
-	mb.title = title; mb.text = text;
+	mb.title = title;
 	mb.text = text;
 	if (!(ht = CreateThread(NULL, 0, mbox_thread, &mb, 0, &tid)))
 		return -1;

Attachments (1)

smartmontools-duplicated-assignment.patch (481 bytes) - added by nikai 9 years ago.
patch

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by nikai

patch

comment:1 Changed 9 years ago by Christian Franke

Milestone: Release 5.41
Owner: changed from somebody to Christian Franke
Status: newaccepted

Thanks - this "Bug" was introduced more than 6 years ago :-)

comment:2 Changed 9 years ago by Christian Franke

Keywords: windows added

comment:3 Changed 9 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.