unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
Subject: Problem report #52
Date: Tue, 11 Apr 2006 08:49:41 -0700	[thread overview]
Message-ID: <200604111549.k3BFnfk0015135@scanner2.ics.uci.edu> (raw)


CID: 52
Checker: UNINIT (help)
File: emacs/src/charset.c
Function: string_to_char
Description: Using uninitialized value "c2"

Event var_decl: Declared variable "c2" without initializer
Also see events: [uninit_use]

294  	  int c, bytes, charset, c1, c2;
295  	

At conditional (1): "c1 < 128" taking false path
At conditional (2): "bytes == 1" taking false path
At conditional (3): "bytes == 2" taking true path
At conditional (4): "c1 == 158" taking false path
At conditional (5): "0" taking false path

296  	  SPLIT_MULTIBYTE_SEQ (str, len, bytes, charset, c1, c2);

Event uninit_use: Using uninitialized value "c2"
Also see events: [var_decl]
At conditional (6): "charset == 0" taking false path
At conditional (7): "charset == 158" taking false path
At conditional (8): "charset == 128" taking false path
At conditional (9): "charset >= 0" taking true path
At conditional (10): "charset <= 254" taking true path
At conditional (11): "charset == 0" taking false path
At conditional (12): "(Vcharset_table & -8)->contents[((charset == 0) ? 0 : ((charset + 128)))] != Qnil" taking true path
At conditional (13): "charset == 0" taking false path
At conditional (14): "((0), ((Vcharset_table & -8)->contents[((charset == 0) ? 0 : ((charset + 128)))] & -8))->contents[2] >> 3 == 1" taking false path
At conditional (15): "((charset >= 0 && charset <= 254 && (Vcharset_table & -8)->contents[((charset == 0) ? 0 : ((charset + 128)))] != Qnil) ? ((((0), ((Vcharset_table & -8)->contents[((charset == 0) ? 0 : ((charset + 128)))] & -8))->contents[2] >> 3 == 1) ? 1 : (0)) : (((charset < 240) ? 1 : (0)))) != 0" taking false path
At conditional (16): "charset < 240" taking true path

297  	  c = MAKE_CHAR (charset, c1, c2);
298  	  if (actual_len)
299  	    *actual_len = bytes;
300  	  return c;

             reply	other threads:[~2006-04-11 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 15:49 Dan Nicolaescu [this message]
2006-04-14  1:36 ` Problem report #52 FALSE Kenichi Handa

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=200604111549.k3BFnfk0015135@scanner2.ics.uci.edu \
    --to=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).