diff options
| author | Manolo Gouy <Manolo> | 2011-01-13 22:07:31 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-13 22:07:31 +0000 |
| commit | 9fc93d261378eb2fe42430d4698415f7f398ba0d (patch) | |
| tree | 322343cac9000da14d3fb835334235511768ac0d | |
| parent | 1ef50fc9c2b0d50a44237a4f76ed9ca81487fee2 (diff) | |
Fix STR #2518: remove gcc 4.4 compilation warnings with -Wall
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Browser_.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H index b8df7f355..48a40e474 100644 --- a/FL/Fl_Browser_.H +++ b/FL/Fl_Browser_.H @@ -138,20 +138,20 @@ protected: \param[in] item The item whose label text is returned. \returns The item's text label. (Can be NULL if blank) */ - virtual const char *item_text(void *item) const { return 0L; } + virtual const char *item_text(void *item) const { (void)item; return 0L; } /** This optional method should be provided by the subclass to efficiently swap browser items \p a and \p b, such as for sorting. \param[in] a,b The two items to be swapped. */ - virtual void item_swap(void *a,void *b) { } + virtual void item_swap(void *a,void *b) { (void)a; (void)b; } /** This method must be provided by the subclass to return the item for the specified \p index. \param[in] index The \p index of the item to be returned \returns The item at the specified \p index. */ - virtual void *item_at(int index) const { return 0L; } + virtual void *item_at(int index) const { (void)index; return 0L; } // you don't have to provide these but it may help speed it up: virtual int full_width() const ; // current width of all items virtual int full_height() const ; // current height of all items |
