After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759930 - Syntax error
Syntax error
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-28 17:16 UTC by Philipp Doblhofer
Modified: 2015-12-28 17:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (407 bytes, patch)
2015-12-28 17:16 UTC, Philipp Doblhofer
none Details | Review

Description Philipp Doblhofer 2015-12-28 17:16:38 UTC
Created attachment 317975 [details] [review]
Patch

Hey,

I can't build gtksourceview.
There is a syntax error in gtksourcegutter.c

gtksourcegutter.c: In function ‘redraw_for_window.part.1’:
gtksourcegutter.c:1489:13: error: ‘start’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
    else if (renderer_query_activatable (gutter,

After setting start to 0 (see attachment) it is compileable.

Philipp
Comment 1 Paolo Borelli 2015-12-28 17:41:45 UTC
Thanks, I amended the patch slightly and pushed.