remove a warning on openbsd

This commit is contained in:
Vincent Sanders 2018-08-28 22:16:34 +01:00
parent 026fb31d2d
commit 9142bab736
2 changed files with 6 additions and 2 deletions

View File

@ -304,7 +304,7 @@ nsgtk_cw_motion_notify_event(GtkWidget *widget,
*/
static nserror nsgtk_cw_key(struct nsgtk_corewindow *nsgtk_cw, uint32_t nskey)
{
double value;
double value = 0;
GtkAdjustment *vscroll;
GtkAdjustment *hscroll;
GtkAdjustment *scroll = NULL;

View File

@ -142,7 +142,11 @@ char *filepath_find(char **respathv, const char *filename)
}
/* exported interface documented in filepath.h */
char *filepath_sfinddef(char **respathv, char *filepath, const char *filename, const char *def)
char *
filepath_sfinddef(char **respathv,
char *filepath,
const char *filename,
const char *def)
{
char t[PATH_MAX];
char *ret;