Preview disp: Remove unused function

This commit is contained in:
Martin Piatka
2019-07-31 12:51:37 +02:00
parent 1e88b6e36b
commit 64d09cf2e9

View File

@@ -95,20 +95,6 @@ struct state_preview_display {
struct video_desc desc;
};
static struct display *display_preview_fork(void *state)
{
shared_ptr<struct state_preview_display_common> s = ((struct state_preview_display *)state)->common;
struct display *out;
char fmt[2 + sizeof(void *) * 2 + 1] = "";
snprintf(fmt, sizeof fmt, "%p", state);
int rc = initialize_video_display(s->parent,
"preview", fmt, 0, NULL, &out);
if (rc == 0) return out; else return NULL;
return out;
}
static void show_help(){
printf("Preview display\n");
printf("Internal use by GUI only\n");