some never read compil warning fixes

This commit is contained in:
Jacek Jendrzej
2016-04-24 17:18:37 +02:00
parent a471b2af10
commit 0d9fbd5378
19 changed files with 19 additions and 38 deletions

View File

@@ -47,9 +47,7 @@ CHintBoxExt::CHintBoxExt(const neutrino_locale_t Caption, const char * const Tex
{
m_message = strdup(Text);
char *begin = m_message;
begin = strtok(m_message, "\n");
char *begin = strtok(m_message, "\n");
while (begin != NULL)
{
std::vector<Drawable*> oneLine;
@@ -67,9 +65,7 @@ CHintBoxExt::CHintBoxExt(const std::string &CaptionString, const char * const Te
{
m_message = strdup(Text);
char *begin = m_message;
begin = strtok(m_message, "\n");
char *begin = strtok(m_message, "\n");
while (begin != NULL)
{
std::vector<Drawable*> oneLine;