How can this switch statement be simplified?
<p>I have two switch statement on inside another.<br>
Like this  </p>

<pre><code>switch(something)
{
case h:
     switch(s)
     {
     case e:
     break;
     default:
     }
break;
default:
}
</code></pre>

<p>Can i simplify it any way? Is there a way to use only one switch statement?<br>
I thought of moving it to a different function but I'll need to pass a lot of variables.</p>
