From: Matthew Fernandez Date: Sun, 28 Nov 2021 22:34:12 +0000 (-0800) Subject: smyrna menu_click_add_camera: remove unused 'p' parameter X-Git-Tag: 3.0.0~149^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8f34a996dd527755ac67b894199b695c560c928;p=graphviz smyrna menu_click_add_camera: remove unused 'p' parameter --- diff --git a/cmd/smyrna/gui/glcompui.c b/cmd/smyrna/gui/glcompui.c index 1cc438e7e..d283bde16 100644 --- a/cmd/smyrna/gui/glcompui.c +++ b/cmd/smyrna/gui/glcompui.c @@ -100,7 +100,7 @@ void switch2D3D(glCompObj *obj, GLfloat x, GLfloat y, if (view->active_camera == -1) { if (view->camera_count == 0) { - menu_click_add_camera(obj); + menu_click_add_camera(); } else { view->active_camera = 0; /*set to camera */ } diff --git a/cmd/smyrna/viewportcamera.c b/cmd/smyrna/viewportcamera.c index 6304cc8e1..138c21047 100644 --- a/cmd/smyrna/viewportcamera.c +++ b/cmd/smyrna/viewportcamera.c @@ -32,7 +32,7 @@ static viewport_camera *add_camera_to_viewport(ViewInfo * view) return view->cameras[view->camera_count - 1]; } -void menu_click_add_camera(void *p) +void menu_click_add_camera(void) { viewport_camera *c; /*add test cameras */ diff --git a/cmd/smyrna/viewportcamera.h b/cmd/smyrna/viewportcamera.h index 629779343..590363af8 100644 --- a/cmd/smyrna/viewportcamera.h +++ b/cmd/smyrna/viewportcamera.h @@ -13,4 +13,4 @@ #include "smyrnadefs.h" #include - extern void menu_click_add_camera(void *p); + extern void menu_click_add_camera(void);