mirror of
https://github.com/yaobinwen/dpkg.git
synced 2026-01-12 08:20:35 +00:00
Remove irrelevant or obsolete FIXME markers
Changelog: internal Warned-by: lgtm
This commit is contained in:
@ -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();
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user