~ubuntu-branches/ubuntu/trusty/freetype/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches-ft2demos/git_init_variables.patch

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-13 13:12:42 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20130513131242-9vx5ags0fgo5uklc
Tags: 2.4.12-0ubuntu1
* New upstream version (lp: #1179523)
* debian/patches-freetype/git_unitialized_variable.patch,
  debian/patches-ft2demos/init_variables.patch:
  - fix an unitialized variable warnings which were breaking the build
* debian/libfreetype6.symbols: updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- ft2demos-2.4.12/src/ftview.c        2013-05-13 13:32:54.433099060 +0200
 
2
+++ ft2demos-2.4.12/src/ftview.c.new    2013-05-13 13:31:17.297095826 +0200
 
3
@@ -1420,7 +1420,7 @@
 
4
     if ( !( status.render_mode == RENDER_MODE_TEXT      ||
 
5
             status.render_mode == RENDER_MODE_WATERFALL ) )
 
6
     {
 
7
-      const char*  encoding;
 
8
+      const char*  encoding = NULL;
 
9
 
 
10
 
 
11
       switch ( status.encoding )
 
12
@@ -1489,7 +1489,7 @@
 
13
 
 
14
     /* render mode */
 
15
     {
 
16
-      const char*  render_mode;
 
17
+      const char*  render_mode = NULL;
 
18
 
 
19
 
 
20
       switch ( status.render_mode )
 
21
@@ -1563,7 +1563,7 @@
 
22
 
 
23
     if ( handle->antialias )
 
24
     {
 
25
-      const char*  lcd_mode;
 
26
+      const char*  lcd_mode = NULL;
 
27
 
 
28
 
 
29
       switch ( handle->lcd_mode )