diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-09-10 12:14:01 (GMT) |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-09-10 12:14:01 (GMT) |
commit | bafa644c182e0d9ed1c21d97b16305a07633ec2d (patch) | |
tree | 63e829d046cb1aa2521031400db08974a35493db /googletest/include | |
parent | 3f05f651ae3621db58468153e32016bc1397800b (diff) | |
download | googletest-bafa644c182e0d9ed1c21d97b16305a07633ec2d.zip googletest-bafa644c182e0d9ed1c21d97b16305a07633ec2d.tar.gz googletest-bafa644c182e0d9ed1c21d97b16305a07633ec2d.tar.bz2 |
remove a dead function
Diffstat (limited to 'googletest/include')
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index 830aa19..29d9edf 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -2019,10 +2019,6 @@ inline bool IsDir(const StatStruct& st) { return S_ISDIR(st.st_mode); } GTEST_DISABLE_MSC_DEPRECATED_PUSH_() -inline const char* StrNCpy(char* dest, const char* src, size_t n) { - return strncpy(dest, src, n); -} - // ChDir(), FReopen(), FDOpen(), Read(), Write(), Close(), and // StrError() aren't needed on Windows CE at this time and thus not // defined there. |