From c9b8d278883a90f534f30f0830bb003460310823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 30 Mar 2022 20:15:52 +0200 Subject: Disregard foreign frames. I don't think they're necessary. --- c/datalistview.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'c/datalistview.c') diff --git a/c/datalistview.c b/c/datalistview.c index 9911887..99c3eed 100644 --- a/c/datalistview.c +++ b/c/datalistview.c @@ -32,7 +32,6 @@ DlvCreate() void DlvShowEpisode(int iEpisode) { - fid_t f; LVITEM lviKey, lviValue; term_t t; @@ -41,10 +40,9 @@ DlvShowEpisode(int iEpisode) lviKey.mask = LVIF_TEXT; lviValue.mask = LVIF_TEXT; - F(f); t = T(3); - PI(t,iEpisode) goto e; - P("episode_data","lookup_episode_local",3,t) goto e; + PI(t,iEpisode) return; + P("episode_data","lookup_episode_local",3,t) return; /* The episode data is a list of unary compounds, * whose functor is the key and whose argument is the value. @@ -95,6 +93,4 @@ n: free(tszKey); } UpdateLayout(); - -e: Fd(f); } -- cgit v1.2.3