mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
remove a warning on openbsd
This commit is contained in:
parent
026fb31d2d
commit
9142bab736
@ -304,7 +304,7 @@ nsgtk_cw_motion_notify_event(GtkWidget *widget,
|
|||||||
*/
|
*/
|
||||||
static nserror nsgtk_cw_key(struct nsgtk_corewindow *nsgtk_cw, uint32_t nskey)
|
static nserror nsgtk_cw_key(struct nsgtk_corewindow *nsgtk_cw, uint32_t nskey)
|
||||||
{
|
{
|
||||||
double value;
|
double value = 0;
|
||||||
GtkAdjustment *vscroll;
|
GtkAdjustment *vscroll;
|
||||||
GtkAdjustment *hscroll;
|
GtkAdjustment *hscroll;
|
||||||
GtkAdjustment *scroll = NULL;
|
GtkAdjustment *scroll = NULL;
|
||||||
|
@ -142,7 +142,11 @@ char *filepath_find(char **respathv, const char *filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* exported interface documented in filepath.h */
|
/* 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 t[PATH_MAX];
|
||||||
char *ret;
|
char *ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user