Don't use a texture which has edges. You can check if the texture has an edge file by going in the edges folder in the textures folder. If there is an edge file in there with the same name as the texture you are using, then it will display that edge in Soldat.
If you really want to use that texture but without edges, you need to copy that texture file in the textures folder and rename it to something else.