aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-16 11:18:22 (GMT)
committersimonb <simonb>2006-04-16 11:18:22 (GMT)
commit553104ee1d53104fa0790a9793a7047c61dd073f (patch)
tree5ccc4968b10f604c05aaa6d3bb13fc206fab8faa /src/FbWinFrame.cc
parent02aa83a59eb3d9e209449b38808635f9e293a17a (diff)
downloadfluxbox_pavel-553104ee1d53104fa0790a9793a7047c61dd073f.zip
fluxbox_pavel-553104ee1d53104fa0790a9793a7047c61dd073f.tar.bz2
fix all compiler warnings with -Wall
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 4416ff6..ccf1087 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -1694,6 +1694,8 @@ int FbWinFrame::widthOffset() const {
1694 case RIGHTBOTTOM: 1694 case RIGHTBOTTOM:
1695 return m_tab_container.width() + m_window.borderWidth(); 1695 return m_tab_container.width() + m_window.borderWidth();
1696 break; 1696 break;
1697 default: // kill warning
1698 break;
1697 } 1699 }
1698 return 0; 1700 return 0;
1699} 1701}
@@ -1709,6 +1711,8 @@ int FbWinFrame::heightOffset() const {
1709 case BOTTOMRIGHT: 1711 case BOTTOMRIGHT:
1710 return m_tab_container.height() + m_window.borderWidth(); 1712 return m_tab_container.height() + m_window.borderWidth();
1711 break; 1713 break;
1714 default: // kill warning
1715 break;
1712 } 1716 }
1713 return 0; 1717 return 0;
1714} 1718}
@@ -1722,6 +1726,8 @@ int FbWinFrame::xOffset() const {
1722 case LEFTBOTTOM: 1726 case LEFTBOTTOM:
1723 return m_tab_container.width() + m_window.borderWidth(); 1727 return m_tab_container.width() + m_window.borderWidth();
1724 break; 1728 break;
1729 default: // kill warning
1730 break;
1725 } 1731 }
1726 return 0; 1732 return 0;
1727} 1733}
@@ -1735,6 +1741,8 @@ int FbWinFrame::yOffset() const {
1735 case TOPRIGHT: 1741 case TOPRIGHT:
1736 return m_tab_container.height() + m_window.borderWidth(); 1742 return m_tab_container.height() + m_window.borderWidth();
1737 break; 1743 break;
1744 default: // kill warning
1745 break;
1738 } 1746 }
1739 return 0; 1747 return 0;
1740} 1748}