[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem report #115: base/src/emacs/src/font.c (font_update_lface); UNIN
From: |
Dan Nicolaescu |
Subject: |
Problem report #115: base/src/emacs/src/font.c (font_update_lface); UNINIT |
Date: |
Tue, 2 Dec 2008 14:24:58 -0800 (PST) |
CID: 115
Checker: UNINIT (help)
File: base/src/emacs/src/font.c
Function: font_update_lface
Description: Using uninitialized value "point"
3045 attrs[LFACE_SWIDTH_INDEX] = FONT_WIDTH_FOR_FACE (spec);
3046 if (! NILP (AREF (spec, FONT_SIZE_INDEX)))
3047 {
Event var_decl: Declared variable "point" without initializer
Also see events: [uninit_use]
3048 int point;
3049
At conditional (1): "((0), (spec & -8))->contents[8] & 7 == 0" taking false path
3050 if (INTEGERP (AREF (spec, FONT_SIZE_INDEX)))
3051 {
3052 Lisp_Object val;
3053 int dpi = f->resy;
3054
3055 val = Ffont_get (spec, QCdpi);
3056 if (! NILP (val))
3057 dpi = XINT (val);
3058 point = PIXEL_TO_POINT (XINT (AREF (spec, FONT_SIZE_INDEX)) *
10,
3059 dpi);
3060 }
At conditional (2): "((0), (spec & -8))->contents[8] & 7 == 6" taking false path
3061 else if (FLOATP (AREF (spec, FONT_SIZE_INDEX)))
3062 point = XFLOAT_DATA (AREF (spec, FONT_SIZE_INDEX)) * 10;
Event uninit_use: Using uninitialized value "point"
Also see events: [var_decl]
3063 attrs[LFACE_HEIGHT_INDEX] = make_number (point);
3064 }
3065 }
3066
- Problem report #115: base/src/emacs/src/font.c (font_update_lface); UNINIT,
Dan Nicolaescu <=