From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: problem report #99 Date: Mon, 1 Dec 2008 07:57:42 -0800 (PST) Message-ID: <200812011557.mB1Fvgnr015155@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228147755 6709 80.91.229.12 (1 Dec 2008 16:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2008 16:09:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 17:10:19 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7BKy-0001RI-Tv for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2008 17:09:29 +0100 Original-Received: from localhost ([127.0.0.1]:53862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7BJo-00042D-PA for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2008 11:08:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7B9j-0008GG-CH for emacs-devel@gnu.org; Mon, 01 Dec 2008 10:57:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7B9h-0008FC-W5 for emacs-devel@gnu.org; Mon, 01 Dec 2008 10:57:50 -0500 Original-Received: from [199.232.76.173] (port=38841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7B9g-0008Ec-Q8 for emacs-devel@gnu.org; Mon, 01 Dec 2008 10:57:48 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:56652) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L7B9g-0005Oi-An for emacs-devel@gnu.org; Mon, 01 Dec 2008 10:57:48 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mB1FvgPR012642 for ; Mon, 1 Dec 2008 07:57:42 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mB1Fvgnr015155; Mon, 1 Dec 2008 07:57:42 -0800 (PST) Original-Lines: 72 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mB1FvgPR012642 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106372 Archived-At: CID: 99 Checker: UNINIT (help) File: base/src/emacs/src/keyboard.c Function: kbd_buffer_get_event Description: Using uninitialized value "bar_window" in call to function "make_lispy_movement" Event var_decl: Declared variable "bar_window" without initializer Also see events: [uninit_use_in_call] 4259 Lisp_Object bar_window; 4260 enum scroll_bar_part part; 4261 Lisp_Object x, y; 4262 unsigned long time; 4263 4264 *kbp = current_kboard; 4265 /* Note that this uses F to determine which terminal to look at. 4266 If there is no valid info, it does not store anything 4267 so x remains nil. */ 4268 x = Qnil; 4269 4270 /* XXX Can f or mouse_position_hook be NULL here? */ At conditional (1): "f != 0" taking true path At conditional (2): "((f)->terminal)->mouse_position_hook != 0" taking false path 4271 if (f && FRAME_TERMINAL (f)->mouse_position_hook) 4272 (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, 0, &bar_window, 4273 &part, &x, &y, &time); 4274 4275 obj = Qnil; 4276 4277 /* Decide if we should generate a switch-frame event. Don't 4278 generate switch-frame events for motion outside of all Emacs 4279 frames. */ At conditional (3): "x != Qnil" taking true path At conditional (4): "f != 0" taking true path 4280 if (!NILP (x) && f) 4281 { 4282 Lisp_Object frame; 4283 4284 frame = FRAME_FOCUS_FRAME (f); At conditional (5): "frame == Qnil" taking true path 4285 if (NILP (frame)) 4286 XSETFRAME (frame, f); 4287 At conditional (6): "frame != internal_last_event_frame" taking true path At conditional (7): "frame != selected_frame" taking true path 4288 if (! EQ (frame, internal_last_event_frame) 4289 && !EQ (frame, selected_frame)) 4290 obj = make_lispy_switch_frame (frame); 4291 internal_last_event_frame = frame; 4292 } 4293 4294 /* If we didn't decide to make a switch-frame event, go ahead and 4295 return a mouse-motion event. */ At conditional (8): "x != Qnil" taking true path At conditional (9): "obj == Qnil" taking true path 4296 if (!NILP (x) && NILP (obj)) Event uninit_use_in_call: Using uninitialized value "bar_window" in call to function "make_lispy_movement" [model] Also see events: [var_decl] 4297 obj = make_lispy_movement (f, bar_window, part, x, y, time); 4298 }