Mercurial > vim
view src/proto/if_xcmdsrv.pro @ 7995:d244f2e46d69 v7.4.1292
commit https://github.com/vim/vim/commit/2fc83fcd1d6dfd4728a2ef70e2316f79203c7ee0
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 8 22:57:24 2016 +0100
patch 7.4.1292
Problem: Some compilers complain about uninitialzed variable, even though
all possible cases are handled. (Dominique Pelle)
Solution: Add a default initialization.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 08 Feb 2016 23:00:05 +0100 |
parents | 21b0a39d13ed |
children | 71311d899b42 |
line wrap: on
line source
/* if_xcmdsrv.c */ int serverRegisterName(Display *dpy, char_u *name); void serverChangeRegisteredWindow(Display *dpy, Window newwin); int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int localLoop, int silent); char_u *serverGetVimNames(Display *dpy); Window serverStrToWin(char_u *str); int serverSendReply(char_u *name, char_u *str); int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop); int serverPeekReply(Display *dpy, Window win, char_u **str); void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); void server_parse_messages(void); int server_waiting(void); /* vim: set ft=c : */