title: Assignment discards qualifiers from pointer target type
body: <p>I'm getting this warning:</p>
  
  <pre><code>warning: assignment discards qualifiers from pointer target type
  </code></pre>
  
  <p>The issue is, that <code>symbolP</code> is not <code>const</code>. I don't want to create <code>const char *symbolP</code> every time in a loop.
  How can I solve it in a better way.
  Here the snippet:</p>
  
  <pre><code>int getList(OCI_Connection* cn)
  {
    OCI_Statement* st;
    OCI_Resultset* rs;
    char *symbolP;
  
    char *query ="SELECT ..";
  
    st = OCI_StatementCreate(cn);
    OCI_ExecuteStmt(st, query);
    rs = OCI_GetResultset(st);
    while (OCI_FetchNext(rs))
    {
        //here comes the warning:
        symbolP = OCI_GetString(rs,1);
    }
    return 1;
  }
  </code></pre>