Opened 14 years ago

Closed 14 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 14 years ago.
patch

Download all attachments as: .zip

Change History (4)

comment:1 by Christian Franke, 14 years ago

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 by Christian Franke, 14 years ago

Keywords: windows added

comment:3 by Christian Franke, 14 years ago

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