Commit 5c3c9c8f730c4d27cd4cdcd4ea5adcf01305b2b1
1 parent
f60ee775
Exists in
master
and in
5 other branches
Removendo erros reportados pelo OBS.
Showing
1 changed file
with
14 additions
and
14 deletions
Show diff stats
src/libpw3270cpp/service.cc
... | ... | @@ -477,12 +477,12 @@ |
477 | 477 | |
478 | 478 | virtual const char * asc2ebc(unsigned char *str, int sz = -1) |
479 | 479 | { |
480 | - | |
480 | + return str; | |
481 | 481 | } |
482 | 482 | |
483 | 483 | virtual const char * ebc2asc(unsigned char *str, int sz = -1) |
484 | 484 | { |
485 | - | |
485 | + return str; | |
486 | 486 | } |
487 | 487 | |
488 | 488 | virtual int set_cursor_position(int row, int col) |
... | ... | @@ -530,13 +530,13 @@ |
530 | 530 | virtual int pfkey(int key) |
531 | 531 | { |
532 | 532 | dbus_int32_t val = (dbus_int32_t) key; |
533 | - getInteger("pfKey", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INT32, &val, DBUS_TYPE_INVALID); | |
533 | + return getInteger("pfKey", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INT32, &val, DBUS_TYPE_INVALID); | |
534 | 534 | } |
535 | 535 | |
536 | 536 | virtual int pakey(int key) |
537 | 537 | { |
538 | 538 | dbus_int32_t val = (dbus_int32_t) key; |
539 | - getInteger("paKey", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INT32, &val, DBUS_TYPE_INVALID); | |
539 | + return getInteger("paKey", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INT32, &val, DBUS_TYPE_INVALID); | |
540 | 540 | } |
541 | 541 | |
542 | 542 | virtual int quit(void) |
... | ... | @@ -556,52 +556,52 @@ |
556 | 556 | |
557 | 557 | virtual int erase(void) |
558 | 558 | { |
559 | - getInteger("erase", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
559 | + return getInteger("erase", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
560 | 560 | } |
561 | 561 | |
562 | 562 | virtual int erase_eof(void) |
563 | 563 | { |
564 | - getInteger("eraseEof", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
564 | + return getInteger("eraseEof", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
565 | 565 | } |
566 | 566 | |
567 | 567 | virtual int erase_eol(void) |
568 | 568 | { |
569 | - getInteger("eraseEol", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
569 | + return getInteger("eraseEol", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
570 | 570 | } |
571 | 571 | |
572 | 572 | virtual int erase_input(void) |
573 | 573 | { |
574 | - getInteger("eraseInput", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
574 | + return getInteger("eraseInput", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
575 | 575 | } |
576 | 576 | |
577 | 577 | virtual int print(void) |
578 | 578 | { |
579 | - getInteger("print", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
579 | + return getInteger("print", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
580 | 580 | } |
581 | 581 | |
582 | 582 | virtual int get_field_start(int baddr = -1) |
583 | 583 | { |
584 | - | |
584 | + return -1; | |
585 | 585 | } |
586 | 586 | |
587 | 587 | virtual int get_field_len(int baddr = -1) |
588 | 588 | { |
589 | - | |
589 | + return -1; | |
590 | 590 | } |
591 | 591 | |
592 | 592 | virtual int get_next_unprotected(int baddr = -1) |
593 | 593 | { |
594 | - | |
594 | + return -1; | |
595 | 595 | } |
596 | 596 | |
597 | 597 | virtual int get_is_protected(int baddr = -1) |
598 | 598 | { |
599 | - | |
599 | + return -1; | |
600 | 600 | } |
601 | 601 | |
602 | 602 | virtual int get_is_protected_at(int row, int col) |
603 | 603 | { |
604 | - | |
604 | + return -1; | |
605 | 605 | } |
606 | 606 | |
607 | 607 | ... | ... |