mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
e4089b5388
Summary: This diff resolves some warnings when building on CentOS 6: ``` linelog/pyext/../linelog.c: In function 'replacelines': linelog/pyext/../linelog.c:290: warning: unused variable 'result' .... linelog/pyext/linelog.c: In function '__pyx_f_7linelog_11_filebuffer_resize': linelog/pyext/linelog.c:3253: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result ``` Test Plan: Run `make local` with the linelog `setup.py` patch applied and make sure there are no warnings. Reviewers: #mercurial, rmcelroy, ttung Reviewed By: rmcelroy Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3699378 Signature: t1:3699378:1470863807:10dc21033ab7301cb3d56e04de1c96f4d0287b6e |
||
---|---|---|
.. | ||
linelog.pyx |