BScrollbar: remove unused field.

* Nothing ever reads fTargetName in the scrollbar code, so remove the
field.
* Frees one reserved slot, and a little memory, as the target name was
copied with strdup.
This commit is contained in:
Adrien Destugues
2014-04-29 16:46:00 +02:00
parent 8073fcbb39
commit 1d09e9cee3
2 changed files with 5 additions and 14 deletions
+1 -2
View File
@@ -133,11 +133,10 @@ private:
float fProportion;
BView* fTarget;
orientation fOrientation;
char* fTargetName;
Private* fPrivateData;
uint32 _reserved[3];
uint32 _reserved[4];
};
#endif // _SCROLL_BAR_H