summaryrefslogtreecommitdiff
path: root/builtin-push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-04 00:37:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-04 00:37:40 -0700
commitf444e5286ee8986adb0899f85cc292fc2cd7cd04 (patch)
tree13c607b5e7bbecea55ba7d1cde51c66b2d8562b4 /builtin-push.c
parentMerge branch 'js/maint-clone-insteadof' into maint (diff)
downloadtgif-f444e5286ee8986adb0899f85cc292fc2cd7cd04.tar.xz
Work around gcc warnings from curl headers
After master.k.org upgrade, I started seeing these warning messages: transport.c: In function 'get_refs_via_curl': transport.c:458: error: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option It appears that the curl header wants to enforce the function signature for callback function given to curl_easy_setopt() to be compatible with that of (*curl_write_callback) or fwrite. This patch seems to work the issue around. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-push.c')
0 files changed, 0 insertions, 0 deletions