unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Problem report #120: base/src/emacs/src/indent.c (Fvertical_motion); UNINIT
Date: Wed, 03 Dec 2008 09:43:33 -0500	[thread overview]
Message-ID: <87hc5lxqsq.fsf@cyd.mit.edu> (raw)
In-Reply-To: <200812030120.mB31K4KU022802@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 02 Dec 2008 16:59:14 -0800")

Dan Nicolaescu <dann@ics.uci.edu> writes:

> CID: 120
> Checker: UNINIT (help)
> File: base/src/emacs/src/indent.c
> Function: Fvertical_motion
> Description: Using uninitialized value "cols"
>
> 2155 	      if (!NILP (lcols))
> 2156 		{
...
>
> Event uninit_use: Using uninitialized value "cols"
> Also see events: [var_decl]
>
> 2164 		  move_it_in_display_line
> 2165 		    (&it, ZV,
> 2166 		     (int)(cols * FRAME_COLUMN_WIDTH (XFRAME (w->frame))

This is bogus.  The variable "cols" always has an assigned value if the
associated Lisp variable "lcols" is non-nil, as is the case here.




      reply	other threads:[~2008-12-03 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03  0:59 Problem report #120: base/src/emacs/src/indent.c (Fvertical_motion); UNINIT Dan Nicolaescu
2008-12-03 14:43 ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hc5lxqsq.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).