Sha256: 3d1166ef712e689ad713ede9668dd021f81499fa0a6e09b9de6c42882af8a957

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

// Copyright (c) 2012 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Should trigger C6001: using uninitialized memory <variable> for |i|.
int f(bool b) {
  int i;
  if (b)
    i = 0;
  return i;
}

int main() {}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/win/compiler-flags/uninit.cc
mt-libuv-4.1.03 ext/gyp/test/win/compiler-flags/uninit.cc
mt-libuv-4.1.02 ext/gyp/test/win/compiler-flags/uninit.cc
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/uninit.cc
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/win/compiler-flags/uninit.cc