Browse Source

Fixed potentially uninitialized local variable warning

shared-context
Christian Forfang 11 years ago
parent
commit
893f31c318
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nanovg.c

+ 1
- 1
src/nanovg.c View File

@@ -1444,7 +1444,7 @@ static void nvg__calculateJoins(struct NVGcontext* ctx, float w, int lineJoin, f
{
struct NVGpathCache* cache = ctx->cache;
int i, j;
float iw;
float iw = 0.0f;

if (w > 0.0f) iw = 1.0f / w;



Loading…
Cancel
Save