Remove irrelevant or obsolete FIXME markers

Changelog: internal
Warned-by: lgtm
This commit is contained in:
Guillem Jover
2021-03-02 03:09:23 +01:00
parent 5682d2a62e
commit e41d01c7ed
3 changed files with 4 additions and 13 deletions

View File

@ -76,13 +76,6 @@ void baselist::kd_bottom() {
}
void baselist::kd_redraw() {
//#define RFSH(x) werase(x); redrawwin(x)
// RFSH(listpad);
// RFSH(infopad);
// RFSH(colheadspad);
// RFSH(thisstatepad);
// RFSH(titlewin);
// RFSH(whatinfowin); /* FIXME: why does ncurses need this? */
clearok(curscr,TRUE);
redrawall();
debug(dbg_general, "baselist[%p]::kd_redraw() done", this);
@ -123,11 +116,11 @@ void baselist::kd_search() {
strcpy(newsearchstring,searchstring);
werase(querywin);
mvwaddstr(querywin,0,0, _("Search for ? "));
echo(); /* FIXME: ncurses documentation or implementation. */
echo();
if (wgetnstr(querywin,newsearchstring,sizeof(newsearchstring)-1) == ERR)
searchstring[0]= 0;
raise(SIGWINCH); /* FIXME: ncurses and xterm arrow keys. */
noecho(); /* FIXME: ncurses. */
raise(SIGWINCH);
noecho();
if (whatinfo_height) { touchwin(whatinfowin); refreshinfo(); }
else if (info_height) { touchwin(infopad); refreshinfo(); }
else if (thisstate_height) redrawthisstate();

View File

@ -22,8 +22,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* FIXME: Don't write uninteresting packages. */
#include <config.h>
#include <compat.h>

View File

@ -60,4 +60,4 @@ va_end_missing:lib/dpkg/parsehelp.c:68
va_list_usedBeforeStarted:lib/compat/vasprintf.c
// BUG: False positive, SIGWINCH is not a fatal signal.
unreachableCode:dselect/basecmds.cc:130
unreachableCode:dselect/basecmds.cc:123